]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-79382: Fix recursive glob() with trailing "**" (GH-115134) (GH-115291)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Feb 2024 11:04:02 +0000 (12:04 +0100)
committerGitHub <noreply@github.com>
Sun, 11 Feb 2024 11:04:02 +0000 (11:04 +0000)
commite72255054b80006f75f1b945faea35d2a42b243c
tree57d98e8bb206a6c594560ca384539ac65d1897a8
parent446a6db5e1773b9c54c1388b9ffc1792a1241f7f
[3.11] gh-79382: Fix recursive glob() with trailing "**" (GH-115134) (GH-115291)

Trailing "**" no longer allows to match files and non-existing paths in
recursive glob().
(cherry picked from commit aeffc7f8951e04258f0fd8cadfa6cd8b704730f6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/glob.py
Lib/test/test_glob.py
Misc/NEWS.d/next/Library/2024-02-07-12-37-52.gh-issue-79382.Yz_5WB.rst [new file with mode: 0644]