| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:2438ca57-9d68-7ffd-8e97-3deaa14517ab |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ADD0:1272F1:248D9F9:32249E6:696AC8B5 |
| html-safe-nonce | d7a747f5cf8f927fc49ceacfe8b0c4060598d2b97af8076cbb22b675623362a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREQwOjEyNzJGMToyNDhEOUY5OjMyMjQ5RTY6Njk2QUM4QjUiLCJ2aXNpdG9yX2lkIjoiMzUyNTA2MjA2NDU2MTg5OTcwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f1e6d87c8d854479c54b797ecacc5216562b2d57694933d8bd878bd59fe7e34a |
| hovercard-subject-tag | pull_request:1712913452 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/115061/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/389314d0995c25673be710853370bb22b2e16a3d8e112922df3e461d560180aa/python/cpython/pull/115061 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/389314d0995c25673be710853370bb22b2e16a3d8e112922df3e461d560180aa/python/cpython/pull/115061 |
| og:image:alt | When expanding and filtering paths for a ** wildcard segment, build an re.Pattern object from the subsequent pattern parts, rather than the entire pattern, and match against the os.DirEntry object ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | barneygale |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/115061#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F115061 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F115061 |
|
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 |
| Reload | https://github.com/python/cpython/pull/115061 |
| Reload | https://github.com/python/cpython/pull/115061 |
| Reload | https://github.com/python/cpython/pull/115061 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
|
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 page | https://github.com/python/cpython/pull/115061 |
|
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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/115061#issue-comment-box |
| barneygale | https://github.com/barneygale |
| python:main | https://github.com/python/cpython/tree/main |
| barneygale:gh-115060 | https://github.com/barneygale/cpython/tree/gh-115060 |
|
GH-115060: Speed up pathlib.Path.glob() by removing redundant regex matching
| https://github.com/python/cpython/pull/115061#top |
| barneygale | https://github.com/barneygale |
| python:main | https://github.com/python/cpython/tree/main |
| barneygale:gh-115060 | https://github.com/barneygale/cpython/tree/gh-115060 |
|
Conversation
10
| https://github.com/python/cpython/pull/115061 |
|
Commits
10
| https://github.com/python/cpython/pull/115061/commits |
|
Checks
0
| https://github.com/python/cpython/pull/115061/checks |
|
Files changed
| https://github.com/python/cpython/pull/115061/files |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Feb 6, 2024 | https://github.com/python/cpython/pull/115061#issue-2119923811 |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| Speed up pathlib.Path.glob() by removing redundant regex matching #115060 | https://github.com/python/cpython/issues/115060 |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
|
| https://github.com/barneygale |
| pythonGH-115060 | https://github.com/python/cpython/issues/115060 |
| : Speed up | https://github.com/python/cpython/pull/115061/commits/54c5aa5a9320cbb082389bf658fcf31ff7afe645 |
| pathlib.Path.glob() | https://github.com/python/cpython/pull/115061/commits/54c5aa5a9320cbb082389bf658fcf31ff7afe645 |
| by removing redundant… | https://github.com/python/cpython/pull/115061/commits/54c5aa5a9320cbb082389bf658fcf31ff7afe645 |
| 54c5aa5 | https://github.com/python/cpython/pull/115061/commits/54c5aa5a9320cbb082389bf658fcf31ff7afe645 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
|
performance
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
|
topic-pathlib
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib |
| Feb 6, 2024 | https://github.com/python/cpython/pull/115061#event-11712703394 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| zooba | https://github.com/zooba |
| February 6, 2024 04:10 | https://github.com/python/cpython/pull/115061#event-11712703421 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Feb 6, 2024 | https://github.com/python/cpython/pull/115061#event-11712703756 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Feb 6, 2024
| https://github.com/python/cpython/pull/115061#ref-issue-2119906994 |
|
Speed up pathlib.Path.glob() by removing redundant regex matching
#115060
| https://github.com/python/cpython/issues/115060 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Feb 6, 2024 | https://github.com/python/cpython/pull/115061#issuecomment-1928758938 |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| barneygale | https://github.com/barneygale |
| February 6, 2024 04:58 | https://github.com/python/cpython/pull/115061#commits-pushed-6abb80d |
|
| https://github.com/barneygale |
| Match against os.DirEntry.path in _select_recursive() | https://github.com/python/cpython/pull/115061/commits/6abb80da677dcec2fba0336b6c2d952e4024b6b3 |
| 6abb80d | https://github.com/python/cpython/pull/115061/commits/6abb80da677dcec2fba0336b6c2d952e4024b6b3 |
|
| https://github.com/barneygale |
| Matching against dot-prefixed path is fine (and faster!) | https://github.com/python/cpython/pull/115061/commits/b382e400635b4dfd78c805f4f2bcdd0eae83842e |
| b382e40 | https://github.com/python/cpython/pull/115061/commits/b382e400635b4dfd78c805f4f2bcdd0eae83842e |
|
| https://github.com/barneygale |
| Revert "Matching against dot-prefixed path is fine (and faster!)" | https://github.com/python/cpython/pull/115061/commits/e1472fc23549799473466b7d97827988bbe72684 |
| e1472fc | https://github.com/python/cpython/pull/115061/commits/e1472fc23549799473466b7d97827988bbe72684 |
| b382e40 | https://github.com/barneygale/cpython/commit/b382e400635b4dfd78c805f4f2bcdd0eae83842e |
|
| https://github.com/barneygale |
| Skip computing prefix len when not matching | https://github.com/python/cpython/pull/115061/commits/284c42e09ef3e69baee4f59da3ff4d471e9ddc81 |
| 284c42e | https://github.com/python/cpython/pull/115061/commits/284c42e09ef3e69baee4f59da3ff4d471e9ddc81 |
| https://github.com/zooba |
| zooba | https://github.com/zooba |
| Feb 8, 2024 | https://github.com/python/cpython/pull/115061#issuecomment-1933161495 |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Feb 8, 2024 | https://github.com/python/cpython/pull/115061#issuecomment-1934574924 |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
|
| https://github.com/barneygale |
| Rename prefix_len --> parent_len for clarity. | https://github.com/python/cpython/pull/115061/commits/169b1e7e2b9c7c8bfc37d811b655070bccaa7022 |
| 169b1e7 | https://github.com/python/cpython/pull/115061/commits/169b1e7e2b9c7c8bfc37d811b655070bccaa7022 |
| https://github.com/zooba |
| zooba | https://github.com/zooba |
| Feb 8, 2024 | https://github.com/python/cpython/pull/115061#issuecomment-1935009659 |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| https://github.com/zooba |
| zooba | https://github.com/zooba |
|
Feb 8, 2024
| https://github.com/python/cpython/pull/115061#pullrequestreview-1871349618 |
|
View reviewed changes
| https://github.com/python/cpython/pull/115061/files/169b1e7e2b9c7c8bfc37d811b655070bccaa7022 |
| zooba | https://github.com/zooba |
| https://github.com/python/cpython/pull/115061#pullrequestreview-1871349618 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| Lib/pathlib/_abc.py | https://github.com/python/cpython/pull/115061/files/169b1e7e2b9c7c8bfc37d811b655070bccaa7022#diff-80172c23421c1dd13d79623c67c24cee61b300f18a55ab5d2d33d69d490abe9a |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| Lib/pathlib/_abc.py | https://github.com/python/cpython/pull/115061/files/169b1e7e2b9c7c8bfc37d811b655070bccaa7022#diff-80172c23421c1dd13d79623c67c24cee61b300f18a55ab5d2d33d69d490abe9a |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| Lib/pathlib/_abc.py | https://github.com/python/cpython/pull/115061/files/169b1e7e2b9c7c8bfc37d811b655070bccaa7022#diff-80172c23421c1dd13d79623c67c24cee61b300f18a55ab5d2d33d69d490abe9a |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| Lib/pathlib/__init__.py | https://github.com/python/cpython/pull/115061/files/169b1e7e2b9c7c8bfc37d811b655070bccaa7022#diff-2282b1d4074c3cc317f8490ac16730aef232a3a125b8acfc49232dcd6c4f6d88 |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
| barneygale | https://github.com/barneygale |
| February 8, 2024 22:56 | https://github.com/python/cpython/pull/115061#commits-pushed-1c4184f |
|
| https://github.com/barneygale |
| Comments, naming. | https://github.com/python/cpython/pull/115061/commits/1c4184f70dc41fa1a9475a616c71b3a7816f9676 |
| 1c4184f | https://github.com/python/cpython/pull/115061/commits/1c4184f70dc41fa1a9475a616c71b3a7816f9676 |
|
| https://github.com/barneygale |
| segment --> component | https://github.com/python/cpython/pull/115061/commits/2873ed852615b601d8916c3aaadb5b4136159024 |
| 2873ed8 | https://github.com/python/cpython/pull/115061/commits/2873ed852615b601d8916c3aaadb5b4136159024 |
|
| https://github.com/barneygale |
| Test post-** matching when globbing .. | https://github.com/python/cpython/pull/115061/commits/90d5a128896923a18e5d9ba8441d61c58eba29b1 |
| 90d5a12 | https://github.com/python/cpython/pull/115061/commits/90d5a128896923a18e5d9ba8441d61c58eba29b1 |
|
| https://github.com/barneygale |
| Couple more test cases | https://github.com/python/cpython/pull/115061/commits/a40924b6945b74118355d16ed3fb34f75978c3da |
| a40924b | https://github.com/python/cpython/pull/115061/commits/a40924b6945b74118355d16ed3fb34f75978c3da |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| 6f93b4d | https://github.com/python/cpython/commit/6f93b4df92b8fbf80529cb6435789f5a75664a20 |
| Feb 10, 2024 | https://github.com/python/cpython/pull/115061#event-11765380161 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Feb 10, 2024 | https://github.com/python/cpython/pull/115061#event-11765380233 |
| fsc-eriker | https://github.com/fsc-eriker |
|
Feb 14, 2024
| https://github.com/python/cpython/pull/115061#ref-commit-ee8ded0 |
|
| https://github.com/barneygale |
|
| https://github.com/fsc-eriker |
| pythonGH-115060 | https://github.com/python/cpython/issues/115060 |
| : Speed up | https://github.com/fsc-eriker/cpython/commit/ee8ded02b8cc54a831d8e42298373d85385ff852 |
| pathlib.Path.glob() | https://github.com/fsc-eriker/cpython/commit/ee8ded02b8cc54a831d8e42298373d85385ff852 |
| by removing redundant… | https://github.com/fsc-eriker/cpython/commit/ee8ded02b8cc54a831d8e42298373d85385ff852 |
| ee8ded0 | https://github.com/fsc-eriker/cpython/commit/ee8ded02b8cc54a831d8e42298373d85385ff852 |
| python#115061 | https://github.com/python/cpython/pull/115061 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F115061 |
|
| https://github.com/zooba |
|
zooba
| https://github.com/zooba |
|
| https://github.com/python/cpython/pull/115061/files/169b1e7e2b9c7c8bfc37d811b655070bccaa7022 |
|
performance
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
|
topic-pathlib
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib |
| Please reload this page | https://github.com/python/cpython/pull/115061 |
|
| https://github.com/barneygale |
|
| https://github.com/zooba |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |