René's URL Explorer Experiment


Title: GH-73435: Add `pathlib.PurePath.full_match()` by barneygale · Pull Request #114350 · python/cpython · GitHub

Open Graph Title: GH-73435: Add `pathlib.PurePath.full_match()` by barneygale · Pull Request #114350 · python/cpython

X Title: GH-73435: Add `pathlib.PurePath.full_match()` by barneygale · Pull Request #114350 · python/cpython

Description: In #101398 we added support for the recursive wildcard ** in pathlib.PurePath.match(). This should allow arbitrary prefix and suffix matching, like p.match('foo/**') or p.match('**/foo'), but there...

Open Graph Description: In #101398 we added support for the recursive wildcard ** in pathlib.PurePath.match(). This should allow arbitrary prefix and suffix matching, like p.match('foo/**') or p.match('**/foo&...

X Description: In #101398 we added support for the recursive wildcard ** in pathlib.PurePath.match(). This should allow arbitrary prefix and suffix matching, like p.match('foo/**') or p.match(&...

Opengraph URL: https://github.com/python/cpython/pull/114350

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b5432c87-a8f2-6ea9-cf85-ffd0882711a0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCDBE:2839F:9DC834:D2B27E:6969914F
html-safe-nonce95fdc12bec2b1a15db2db9ab690a9377b474f42baab556976f6ad9b29b6c2cae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREJFOjI4MzlGOjlEQzgzNDpEMkIyN0U6Njk2OTkxNEYiLCJ2aXNpdG9yX2lkIjoiMjIxODkxMjI3NTkxMDcyNTk2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6863649268f651f6c5bb100591131b25547b6937b7b5699e8af1eed022c3b9f4
hovercard-subject-tagpull_request:1688342550
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/114350/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f90d82d04a9ee7616f251a0d301c95f54bd7ee11496259157da9be7a73d3d386/python/cpython/pull/114350
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f90d82d04a9ee7616f251a0d301c95f54bd7ee11496259157da9be7a73d3d386/python/cpython/pull/114350
og:image:altIn #101398 we added support for the recursive wildcard ** in pathlib.PurePath.match(). This should allow arbitrary prefix and suffix matching, like p.match('foo/**') or p.match('**/foo&...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
None3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaf80af7cc9e3de9c336f18b208a600950a3c187c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/114350#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F114350
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F114350
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/114350
Reloadhttps://github.com/python/cpython/pull/114350
Reloadhttps://github.com/python/cpython/pull/114350
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/114350
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/114350
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/114350#issue-comment-box
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:globmatchhttps://github.com/barneygale/cpython/tree/globmatch
GH-73435: Add pathlib.PurePath.full_match() https://github.com/python/cpython/pull/114350#top
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:globmatchhttps://github.com/barneygale/cpython/tree/globmatch
Conversation 11 https://github.com/python/cpython/pull/114350
Commits 9 https://github.com/python/cpython/pull/114350/commits
Checks 0 https://github.com/python/cpython/pull/114350/checks
Files changed 6 https://github.com/python/cpython/pull/114350/files
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jan 20, 2024https://github.com/python/cpython/pull/114350#issue-2092202455
Please reload this pagehttps://github.com/python/cpython/pull/114350
#101398https://github.com/python/cpython/pull/101398
Support recursive wildcards in pathlib.PurePath.match() #73435https://github.com/python/cpython/issues/73435
https://cpython-previews--114350.org.readthedocs.build/en/114350/library/pathlib.html#pathlib.PurePath.globmatchhttps://cpython-previews--114350.org.readthedocs.build/en/114350/library/pathlib.html#pathlib.PurePath.globmatch
Please reload this pagehttps://github.com/python/cpython/pull/114350
https://github.com/barneygale
pythonGH-73435https://github.com/python/cpython/issues/73435
: Addhttps://github.com/python/cpython/pull/114350/commits/1c8bf813007e63930f0f89a980f3b848b1590372
pathlib.PurePath.globmatch()https://github.com/python/cpython/pull/114350/commits/1c8bf813007e63930f0f89a980f3b848b1590372
1c8bf81https://github.com/python/cpython/pull/114350/commits/1c8bf813007e63930f0f89a980f3b848b1590372
49f90bahttps://github.com/barneygale/cpython/commit/49f90ba1eae56708b1894441418c13ad8e8ea9a8
https://github.com/barneygale
barneygalehttps://github.com/barneygale
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Jan 20, 2024https://github.com/python/cpython/pull/114350#event-11547004869
https://github.com/barneygale
barneygalehttps://github.com/barneygale
AlexWaygoodhttps://github.com/AlexWaygood
hugovkhttps://github.com/hugovk
jaracohttps://github.com/jaraco
zoobahttps://github.com/zooba
January 20, 2024 18:51https://github.com/python/cpython/pull/114350#event-11547004879
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jan 20, 2024https://github.com/python/cpython/pull/114350#event-11547005041
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 20, 2024 https://github.com/python/cpython/pull/114350#ref-issue-1198966677
Support recursive wildcards in pathlib.PurePath.match() #73435 https://github.com/python/cpython/issues/73435
https://github.com/barneygale
Simplify match() code slightly.https://github.com/python/cpython/pull/114350/commits/7f9222a852307c4eddeb6d474e6110f36f2fc15b
7f9222ahttps://github.com/python/cpython/pull/114350/commits/7f9222a852307c4eddeb6d474e6110f36f2fc15b
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Jan 20, 2024 https://github.com/python/cpython/pull/114350#pullrequestreview-1834730690
View reviewed changes https://github.com/python/cpython/pull/114350/files/7f9222a852307c4eddeb6d474e6110f36f2fc15b
Doc/library/pathlib.rsthttps://github.com/python/cpython/pull/114350/files/7f9222a852307c4eddeb6d474e6110f36f2fc15b#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
Please reload this pagehttps://github.com/python/cpython/pull/114350
Lib/pathlib/_abc.pyhttps://github.com/python/cpython/pull/114350/files/7f9222a852307c4eddeb6d474e6110f36f2fc15b#diff-80172c23421c1dd13d79623c67c24cee61b300f18a55ab5d2d33d69d490abe9a
Please reload this pagehttps://github.com/python/cpython/pull/114350
https://github.com/barneygale
Improve variable nameshttps://github.com/python/cpython/pull/114350/commits/ed203e80d8c628e402628155e2362057fcb69062
ed203e8https://github.com/python/cpython/pull/114350/commits/ed203e80d8c628e402628155e2362057fcb69062
https://github.com/zooba
zoobahttps://github.com/zooba
Jan 22, 2024https://github.com/python/cpython/pull/114350#issuecomment-1904782501
Please reload this pagehttps://github.com/python/cpython/pull/114350
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jan 22, 2024https://github.com/python/cpython/pull/114350#issuecomment-1904803409
Please reload this pagehttps://github.com/python/cpython/pull/114350
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jan 22, 2024https://github.com/python/cpython/pull/114350#issuecomment-1904810737
zsh man pagehttps://linux.die.net/man/1/zshexpn0
Please reload this pagehttps://github.com/python/cpython/pull/114350
https://github.com/zooba
zoobahttps://github.com/zooba
Jan 22, 2024https://github.com/python/cpython/pull/114350#issuecomment-1904831820
Please reload this pagehttps://github.com/python/cpython/pull/114350
barneygalehttps://github.com/barneygale
January 22, 2024 22:49https://github.com/python/cpython/pull/114350#commits-pushed-aaa1ddb
https://github.com/barneygale
globmatch --> full_matchhttps://github.com/python/cpython/pull/114350/commits/aaa1ddb3b87bb97f4c52c8a2d638f860c66712f5
aaa1ddbhttps://github.com/python/cpython/pull/114350/commits/aaa1ddb3b87bb97f4c52c8a2d638f860c66712f5
https://github.com/barneygale
Improve docstrings.https://github.com/python/cpython/pull/114350/commits/5c2ea0e6fdbb704348dfaf94d604afff9527c161
5c2ea0ehttps://github.com/python/cpython/pull/114350/commits/5c2ea0e6fdbb704348dfaf94d604afff9527c161
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jan 22, 2024https://github.com/python/cpython/pull/114350#event-11562946719
https://github.com/barneygale
Note difference in empty pattern handling.https://github.com/python/cpython/pull/114350/commits/a5eaf810d7f9ecde5a04b54fc81a89fabfeca19a
a5eaf81https://github.com/python/cpython/pull/114350/commits/a5eaf810d7f9ecde5a04b54fc81a89fabfeca19a
https://github.com/zooba
zoobahttps://github.com/zooba
Jan 24, 2024 https://github.com/python/cpython/pull/114350#pullrequestreview-1841936589
View reviewed changes https://github.com/python/cpython/pull/114350/files/a5eaf810d7f9ecde5a04b54fc81a89fabfeca19a
zoobahttps://github.com/zooba
https://github.com/python/cpython/pull/114350#pullrequestreview-1841936589
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/114350
Lib/pathlib/_abc.pyhttps://github.com/python/cpython/pull/114350/files/a5eaf810d7f9ecde5a04b54fc81a89fabfeca19a#diff-80172c23421c1dd13d79623c67c24cee61b300f18a55ab5d2d33d69d490abe9a
Please reload this pagehttps://github.com/python/cpython/pull/114350
https://github.com/barneygale
barneygalehttps://github.com/barneygale
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jan 25, 2024https://github.com/python/cpython/pull/114350#event-11603369918
barneygalehttps://github.com/barneygale
January 26, 2024 00:04https://github.com/python/cpython/pull/114350#commits-pushed-6fd7b01
https://github.com/barneygale
Double compiled pattern cache sizehttps://github.com/python/cpython/pull/114350/commits/6fd7b016f14df4a86ab9766eb73ab382fd23581f
6fd7b01https://github.com/python/cpython/pull/114350/commits/6fd7b016f14df4a86ab9766eb73ab382fd23581f
https://github.com/barneygale
Fix handling of empty paths and patterns.https://github.com/python/cpython/pull/114350/commits/2172b4de58031d20953622908cd9df2a964dc556
2172b4dhttps://github.com/python/cpython/pull/114350/commits/2172b4de58031d20953622908cd9df2a964dc556
https://github.com/barneygale
Couple more test cases.https://github.com/python/cpython/pull/114350/commits/f60f1474b9a50eeb64c90ec9a2c37feb9504fba5
f60f147https://github.com/python/cpython/pull/114350/commits/f60f1474b9a50eeb64c90ec9a2c37feb9504fba5
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jan 26, 2024https://github.com/python/cpython/pull/114350#issuecomment-1911236760
Please reload this pagehttps://github.com/python/cpython/pull/114350
https://github.com/barneygale
barneygalehttps://github.com/barneygale
January 26, 2024 00:51https://github.com/python/cpython/pull/114350#event-11603770647
https://github.com/barneygale
barneygalehttps://github.com/barneygale
b69548ahttps://github.com/python/cpython/commit/b69548a0f52418b8a2cf7c7a885fdd7d3bfb1b0b
Jan 26, 2024https://github.com/python/cpython/pull/114350#event-11603888167
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jan 26, 2024https://github.com/python/cpython/pull/114350#event-11603888386
aiskhttps://github.com/aisk
Feb 11, 2024 https://github.com/python/cpython/pull/114350#ref-commit-3a7ecb0
https://github.com/barneygale
https://github.com/aisk
pythonGH-73435https://github.com/python/cpython/issues/73435
: Addhttps://github.com/aisk/cpython/commit/3a7ecb076e8878de2a0a6a8e09e4fb7b7621025c
pathlib.PurePath.full_match()https://github.com/aisk/cpython/commit/3a7ecb076e8878de2a0a6a8e09e4fb7b7621025c
(https://github.com/aisk/cpython/commit/3a7ecb076e8878de2a0a6a8e09e4fb7b7621025c
python#114350https://github.com/python/cpython/pull/114350
)https://github.com/aisk/cpython/commit/3a7ecb076e8878de2a0a6a8e09e4fb7b7621025c
3a7ecb0https://github.com/aisk/cpython/commit/3a7ecb076e8878de2a0a6a8e09e4fb7b7621025c
49f90bahttps://github.com/aisk/cpython/commit/49f90ba1eae56708b1894441418c13ad8e8ea9a8
Glyphackhttps://github.com/Glyphack
Sep 2, 2024 https://github.com/python/cpython/pull/114350#ref-commit-f7bece1
https://github.com/barneygale
https://github.com/Glyphack
pythonGH-73435https://github.com/python/cpython/issues/73435
: Addhttps://github.com/Glyphack/cpython/commit/f7bece1c00494377d93791445e2b742f22719972
pathlib.PurePath.full_match()https://github.com/Glyphack/cpython/commit/f7bece1c00494377d93791445e2b742f22719972
(https://github.com/Glyphack/cpython/commit/f7bece1c00494377d93791445e2b742f22719972
python#114350https://github.com/python/cpython/pull/114350
)https://github.com/Glyphack/cpython/commit/f7bece1c00494377d93791445e2b742f22719972
f7bece1https://github.com/Glyphack/cpython/commit/f7bece1c00494377d93791445e2b742f22719972
49f90bahttps://github.com/Glyphack/cpython/commit/49f90ba1eae56708b1894441418c13ad8e8ea9a8
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Oct 10, 2025 https://github.com/python/cpython/pull/114350#ref-pullrequest-3450939543
GH-139282: Support recursive wildcard in pathlib.PurePath.match() #139311 https://github.com/python/cpython/pull/139311
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F114350
https://github.com/hugovk
hugovk https://github.com/hugovk
https://github.com/python/cpython/pull/114350/files/7f9222a852307c4eddeb6d474e6110f36f2fc15b
https://github.com/zooba
zooba https://github.com/zooba
https://github.com/python/cpython/pull/114350/files/a5eaf810d7f9ecde5a04b54fc81a89fabfeca19a
https://github.com/jaraco
jaraco https://github.com/jaraco
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/114350
https://github.com/barneygale
https://github.com/zooba
https://github.com/hugovk
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.