summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-11-23 10:41:39 (GMT)
committerGitHub <noreply@github.com>2024-11-23 10:41:39 (GMT)
commitcc813e10ff190af38b8429d0d49fb9249493d504 (patch)
tree249d31c6fda7061ff11524c551511a11112992c3 /Misc/NEWS.d
parenta13e94d84bff334da3da2cab523ba75b57e0787f (diff)
downloadcpython-cc813e10ff190af38b8429d0d49fb9249493d504.zip
cpython-cc813e10ff190af38b8429d0d49fb9249493d504.tar.gz
cpython-cc813e10ff190af38b8429d0d49fb9249493d504.tar.bz2
GH-125866: Preserve Windows drive letter case in file URIs (#127138)
Stop converting Windows drive letters to uppercase in `urllib.request.pathname2url()` and `url2pathname()`. This behaviour is unnecessary and inconsistent with pathlib's file URI implementation.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2024-11-22-04-49-31.gh-issue-125866.TUtvPK.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-11-22-04-49-31.gh-issue-125866.TUtvPK.rst b/Misc/NEWS.d/next/Library/2024-11-22-04-49-31.gh-issue-125866.TUtvPK.rst
new file mode 100644
index 0000000..682e061
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-11-22-04-49-31.gh-issue-125866.TUtvPK.rst
@@ -0,0 +1,2 @@
+:func:`urllib.request.pathname2url` and :func:`~urllib.request.url2pathname`
+no longer convert Windows drive letters to uppercase.