]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-113659: Skip hidden .pth files (GH-113660) (GH-114144)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 16 Jan 2024 18:56:31 +0000 (19:56 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 18:56:31 +0000 (18:56 +0000)
commit21ab20b3a794ab5f64963706088af21574068f4c
treec504e23258303d627674ac38504f8cbc6cfff511
parente7dcab355e8b8917861f234f412c7b3213481e29
[3.11] gh-113659: Skip hidden .pth files (GH-113660) (GH-114144)

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]