Skip to content

gh-133930: Name the replacement character in urllib.parse.unquote docs - #162023

Open
kirtiagwl1595 wants to merge 1 commit into
python:mainfrom
kirtiagwl1595:gh-133930-unquote-replacement-char
Open

kirtiagwl1595 wants to merge 1 commit into
python:mainfrom
kirtiagwl1595:gh-133930-unquote-replacement-char

Conversation

@kirtiagwl1595

@kirtiagwl1595 kirtiagwl1595 commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Point 4 of #133930 asks which "placeholder character" unquote() uses
with the default errors='replace'. It is U+FFFD. This PR names it in the
docs and in the docstring, with the wording that Doc/library/codecs.rst
already uses for the 'replace' error handler.

Point 1 is tracked in #130578. Points 2, 3 and 5 are not changed here.

#158915 edits the same sentence in Doc/library/urllib.parse.rst. The two
changes do not depend on each other. If that PR merges first, I will merge
main into this branch and resolve the one-line conflict.

This needs the skip news label (docs and docstring only).

@python-cla-bot

python-cla-bot Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app

bedevere-app Bot commented Nov 14, 2026

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35897210 | 📁 Comparing 0c5adf1 against main (5131d72)

  🔍 Preview build  

1 file changed
± library/urllib.parse.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant