[issue9301] urllib.quote(None) returns None in 2.7 (raised TypeError before)
Senthil Kumaran
report at bugs.python.org
Fri Jul 30 21:22:17 CEST 2010
Senthil Kumaran <orsenthil at gmail.com> added the comment:
Flox, agree to your patch on checking for unquote({}) and unquote(()).
AttributeError on unquote(None) was a mistake in previous releases and it was not intentional. We stand at a chance of correcting that when we are explicitly raising an Exception. Perhaps in another bug report to explicitly track it.
Ezio: It was conscious design decision to support both bytes and string for these functions. I think, discussed in issue3300
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9301>
_______________________________________
More information about the Python-bugs-list
mailing list