[issue1712522] urllib.quote throws exception on Unicode URL
Senthil Kumaran
report at bugs.python.org
Mon Jul 19 14:13:27 CEST 2010
Senthil Kumaran <orsenthil at gmail.com> added the comment:
On Mon, Jul 19, 2010 at 11:25:30AM +0000, Antoine Pitrou wrote:
> If we were following you, we would add "encoding" and "errors"
> arguments to any str-accepting 2.x function, so that it can also
> accept unicode strings. That's certainly not a reasonable solution.
I don't think Matt is indicating that. Just the quote function can be
used with unicode string as perfectly valid string input.
In the original py3k bug too, there was a big discussion on this very
same topic.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1712522>
_______________________________________
More information about the Python-bugs-list
mailing list