This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients iritkatriel, nanjekyejoannah, ncoghlan, r.david.murray, stein-k, taleinat, xtreak
Date 2020-10-18.14:49:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603032581.75.0.445553976711.issue32498@roundup.psfhosted.org>
In-reply-to
Content
Ah yes, I missed that. I've pushed a PR for 3.8 that does this:

>>> urllib.parse.unquote(b'abc%20def')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\User\src\cpython\lib\urllib\parse.py", line 635, in unquote
    raise TypeError('Expected str, got bytes')
TypeError: Expected str, got bytes
History
Date User Action Args
2020-10-18 14:49:41iritkatrielsetrecipients: + iritkatriel, ncoghlan, taleinat, r.david.murray, stein-k, xtreak, nanjekyejoannah
2020-10-18 14:49:41iritkatrielsetmessageid: <1603032581.75.0.445553976711.issue32498@roundup.psfhosted.org>
2020-10-18 14:49:41iritkatriellinkissue32498 messages
2020-10-18 14:49:41iritkatrielcreate