]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-113659: Skip hidden .pth files (GH-113660) (GH-114145)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 18 Jan 2024 13:39:30 +0000 (14:39 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2024 13:39:30 +0000 (14:39 +0100)
commit9afc6d102d16080535325f645849cd84eb04d57d
tree446aea3dbe8ecebebbe437a37ec78b84ca345d0b
parent12748967273bc433432052a5c0a414ef10668d92
[3.10] gh-113659: Skip hidden .pth files (GH-113660) (GH-114145)

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>
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
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]