[issue1712522] urllib.quote throws exception on Unicode URL

Daniel Diniz report at bugs.python.org
Mon Feb 9 00:55:07 CET 2009


Daniel Diniz <ajaksu at 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 <report at bugs.python.org>
<http://bugs.python.org/issue1712522>
_______________________________________


More information about the Python-bugs-list mailing list