]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-113659: Skip hidden .pth files (GH-113660) (GH-114143)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 16 Jan 2024 18:57:14 +0000 (19:57 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 18:57:14 +0000 (18:57 +0000)
commit59da12613afd9241e5afed863315081788d1ce00
treeef28162bfd086d9af3800de33bcb6f4a854f66b9
parent60f5f7513fa3513efa308162841a6efee5a34993
[3.12] gh-113659: Skip hidden .pth files (GH-113660) (GH-114143)

Skip .pth files with names starting with a dot or hidden file attribute.
(cherry picked from commit 74208ed0c440244fb809d8acc97cb9ef51e888e3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/site.py
Lib/test/test_site.py
Misc/NEWS.d/next/Security/2024-01-02-19-52-23.gh-issue-113659.DkmnQc.rst [new file with mode: 0644]