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.

classification
Title: urllib.parse.unquote_plus raises incorrect error message when string parameter is bytes
Type: Stage: patch review
Components: Library (Lib) Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: eamanu, orsenthil, stein-k
Priority: normal Keywords: patch

Created on 2019-10-23 17:45 by stein-k, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 16903 open stein-k, 2019-10-23 17:51
Messages (1)
msg355242 - (view) Author: stein-k (stein-k) * Date: 2019-10-23 17:45
urllib.parse.unquote_plus(b'abc%20def')
...
TypeError: a bytes-like object is required, not 'str'
History
Date User Action Args
2022-04-11 14:59:22adminsetgithub: 82748
2020-01-10 22:26:27cheryl.sabellasetnosy: + orsenthil
2019-10-24 02:47:00eamanusetnosy: + eamanu

title: urllib.parse.unquote_plus raises incorrect errormessage when string parameter is bytes -> urllib.parse.unquote_plus raises incorrect error message when string parameter is bytes
2019-10-23 17:51:31stein-ksetkeywords: + patch
stage: patch review
pull_requests: + pull_request16441
2019-10-23 17:45:50stein-kcreate