[issue2637] urllib.quote() escapes characters unnecessarily and contrary to docs

Nir Soffer report at bugs.python.org
Sat Aug 8 13:37:02 CEST 2009


Nir Soffer <nirsof at gmail.com> added the comment:

You can control what is safe in your particular context using the safe 
keyword argument.

How do you want to support unicode? you must decide which character 
encoding you like, which depends on the server side decoding the url.

Just document the fact that this function does not accept unicode.

----------
nosy: +nirs

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2637>
_______________________________________


More information about the Python-bugs-list mailing list