-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
PurePath.match
accepts a PurePath
pattern only since Python 3.12
#112758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
3.12
only security fixes
3.13
bugs and security fixes
docs
Documentation in the Doc dir
topic-pathlib
Comments
Hi @vlopezferrando |
@tpackard1 Sure, go ahead! |
Thanks @vlopezferrando! I am working on a PR for this right now and should be done with it in a few hours. |
barneygale
pushed a commit
that referenced
this issue
Dec 8, 2023
Thanks @vlopezferrando for the crystal-clear bug report, and @tpackard1 for promptly fixing it. Resolving this issue! |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 8, 2023
…thonGH-112814) (cherry picked from commit ed8720a) Co-authored-by: Taylor Packard <3.t.packard@gmail.com>
barneygale
pushed a commit
that referenced
this issue
Dec 8, 2023
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
only security fixes
3.13
bugs and security fixes
docs
Documentation in the Doc dir
topic-pathlib
Uh oh!
There was an error while loading. Please reload this page.
Documentation
In the docs on
PurePath.match(pattern, *, case_sensitive=None)
onpathlib
, it says:But it doesn't say that
pattern
can only be a path object since Python 3.12.For example, on Python 3.11, you get this error when trying to use a
PurePath
as the pattern:Linked PRs
The text was updated successfully, but these errors were encountered: