Daniel Diniz <aja...@gmail.com> added the comment: IMHO, the TypeError would be a bugfix for 2.6.x. A urllib.quote_unicode could be provided (in 2.7) to match urllib.parse.quote in 3.0 and the OP usecase.
I can provide a simple patch, but I'm afraid the OP's remarks about ASCII-range and thread-safety wouldn't be handled at all. ---------- nosy: +ajaksu2 versions: +Python 2.6, Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1712522> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com