]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] gh-113659: Skip hidden .pth files (GH-113660) (GH-114147)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 17 Jan 2024 13:42:31 +0000 (15:42 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Jan 2024 13:42:31 +0000 (14:42 +0100)
commit01845a15d627d1f2c7eed9b245e462ffadd01701
tree7f9a36311a914b98839de255022ae93eda1ba3e1
parenta9115165c800e72f1ce0db625a725ec3a20120cb
[3.8] gh-113659: Skip hidden .pth files (GH-113660) (GH-114147)

Skip .pth files with names starting with a dot or hidden file attribute.
(cherry picked from commit 74208ed0c440244fb809d8acc97cb9ef51e888e3)
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]