mirror of
https://github.com/python/cpython.git
synced 2026-08-02 07:05:38 -04:00
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.
(cherry picked from commit 1b4135a2c6)
Co-authored-by: Zain Nadeem <[email protected]>