summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2023-08-16 23:19:48 (GMT)
committerGitHub <noreply@github.com>2023-08-16 23:19:48 (GMT)
commitede98958810b76694cf756d305b564cd6adc1a48 (patch)
tree89b00419836960b648ab4104277db32c45e9ad14 /Misc
parent2a00cf2db8a19533dc7d71276ce6a77f6a103c65 (diff)
downloadcpython-ede98958810b76694cf756d305b564cd6adc1a48.zip
cpython-ede98958810b76694cf756d305b564cd6adc1a48.tar.gz
cpython-ede98958810b76694cf756d305b564cd6adc1a48.tar.bz2
[3.12] gh-106242: Fix path truncation in os.path.normpath (GH-106816) (#107981)
* gh-106242: Fix path truncation in os.path.normpath (GH-106816) * gh-106242: Minor fixup to avoid compiler warnings --------- Co-authored-by: Finn Womack <flan313@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-08-14-23-11-11.gh-issue-106242.71HMym.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-08-14-23-11-11.gh-issue-106242.71HMym.rst b/Misc/NEWS.d/next/Library/2023-08-14-23-11-11.gh-issue-106242.71HMym.rst
new file mode 100644
index 0000000..44237a9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-08-14-23-11-11.gh-issue-106242.71HMym.rst
@@ -0,0 +1 @@
+Fixes :func:`os.path.normpath` to handle embedded null characters without truncating the path.