]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111259: Optimize recursive wildcards in pathlib (GH-111303)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 26 Oct 2023 15:07:06 +0000 (18:07 +0300)
committerGitHub <noreply@github.com>
Thu, 26 Oct 2023 15:07:06 +0000 (18:07 +0300)
commit309efb39dc005a834bb67e9a6f27b6689f00ec9d
tree05e3828927ad56ad914c08c40b28b653fa280315
parent67a91f78e4395148afcc33e5cd6f3f0a9623e63a
gh-111259: Optimize recursive wildcards in pathlib (GH-111303)

Regular expression pattern `(?s:.)` is much faster than `[\s\S]`.
Lib/pathlib.py
Misc/NEWS.d/next/Library/2023-10-25-11-13-35.gh-issue-111259.z7ndeA.rst [new file with mode: 0644]