diff options
author | Barney Gale <barney.gale@gmail.com> | 2023-05-02 22:51:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 22:51:18 +0100 |
commit | 47770a1e91d096fd1c689eb0c78b0f9e76b43639 (patch) | |
tree | 31b43ddb067af17f1313afb8528289cdce94c681 /Python/pylifecycle.c | |
parent | 1f5384434dce013b5dcf7e7ea3ec5312d13bba72 (diff) | |
download | cpython-47770a1e91d096fd1c689eb0c78b0f9e76b43639.tar.gz cpython-47770a1e91d096fd1c689eb0c78b0f9e76b43639.zip |
GH-104104: Optimize `pathlib.Path.glob()` by avoiding repeated calls to `os.path.normcase()` (GH-104105)
Use `re.IGNORECASE` to implement case-insensitive matching. This
restores behaviour from before GH-31691.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions