]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-150880: Normalize paths on Windows before appending wildcard (GH-152906)
authorZain Nadeem <zainnadeemzainnadeem80@gmail.com>
Fri, 3 Jul 2026 15:30:02 +0000 (20:30 +0500)
committerGitHub <noreply@github.com>
Fri, 3 Jul 2026 15:30:02 +0000 (16:30 +0100)
commit1b4135a2c69f5320dbdcb37dcc295a5fd36580b5
treef64b441aded25c50a8202e60674071b640293e22
parent87120d333dc54971ce3cdc1c170efab4798f5246
gh-150880: Normalize paths on Windows before appending wildcard (GH-152906)

This ensures that we don't turn a "valid" path with trailing spaces into an invalid path with embedded spaces.
Lib/test/test_os/test_os.py
Misc/NEWS.d/next/Library/2026-07-02-22-19-53.gh-issue-150880.vPZ7jK.rst [new file with mode: 0644]
Modules/posixmodule.c