-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-35100: add unquote_to_bytes_plus to the urllib.parse module #12368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
* Add unquote_to_bytes_plus to urllib.parse module
Doc/library/urllib.parse.rst
Outdated
.. function:: unquote_to_bytes_plus(string) | ||
|
||
Like :func:`unquote_to_bytes`, but also replace plus signs by spaces, as required for | ||
unquoting HTML form values. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace plus signs with spaces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed. would like me to make the same change in the docmentation for the unquote_plus() method?
Hey @vadmium - any chance of taking another look at this one? |
@@ -575,6 +575,16 @@ task isn't already covered by the URL parsing functions above. | |||
Example: ``unquote_to_bytes('a%26%EF')`` yields ``b'a&\xef'``. | |||
|
|||
|
|||
.. function:: unquote_to_bytes_plus(string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though other functions don't have versionadded
directive I think it will be good to add one to this addition. 3.8 beta 1 has been released so I am not sure if this can be merged to 3.8.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I've updated the docs with the versionadded directive set to 3.9, which seems the most logical.
This PR is stale because it has been open for 30 days with no activity. |
https://bugs.python.org/issue35100