[issue32498] urllib.parse.unquote raises incorrect errormessage when string parameter is bytes

Tal Einat report at bugs.python.org
Mon Oct 14 06:27:18 EDT 2019


Tal Einat <taleinat at gmail.com> added the comment:

So urllib.parse.unquote() will accept bytes in addition to str starting with 3.9.

The unclear exception remains in prior versions. Would someone like to add a better exception for 3.7 and 3.8?

(I'm marking this as "newcomer friendly", referring only to improving the exception for 3.7 and 3.8.)

----------
keywords: +newcomer friendly
nosy: +taleinat

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32498>
_______________________________________


More information about the Python-bugs-list mailing list