Irit Katriel <iritkatr...@yahoo.com> added the comment:
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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32498> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com