]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-106242: Fix path truncation in os.path.normpath (GH-106816) (#107981)
authorSteve Dower <steve.dower@python.org>
Wed, 16 Aug 2023 23:19:48 +0000 (00:19 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2023 23:19:48 +0000 (01:19 +0200)
commitede98958810b76694cf756d305b564cd6adc1a48
tree89b00419836960b648ab4104277db32c45e9ad14
parent2a00cf2db8a19533dc7d71276ce6a77f6a103c65
[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>
Include/internal/pycore_fileutils.h
Lib/test/test_genericpath.py
Misc/NEWS.d/next/Library/2023-08-14-23-11-11.gh-issue-106242.71HMym.rst [new file with mode: 0644]
Modules/posixmodule.c
Python/fileutils.c