[issue9301] urllib.quote(None) returns None in 2.7 (raised TypeError before)

Florent Xicluna report at bugs.python.org
Wed Jul 28 08:50:08 CEST 2010


Florent Xicluna <florent.xicluna at gmail.com> added the comment:

1/ The AttributeError on unquote() is backward compatible with 2.6, 2.7 and 3.1. (issue 9301 is about backward compatibility)

2/ All the quote*/unquote* functions accept both str and bytes (except quote_from_bytes).  I don't find a strong reason to change this.

----------

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


More information about the Python-bugs-list mailing list