Title: GH-139282: Support recursive wildcard in `pathlib.PurePath.match()` by barneygale · Pull Request #139311 · python/cpython · GitHub
Open Graph Title: GH-139282: Support recursive wildcard in `pathlib.PurePath.match()` by barneygale · Pull Request #139311 · python/cpython
X Title: GH-139282: Support recursive wildcard in `pathlib.PurePath.match()` by barneygale · Pull Request #139311 · python/cpython
Description: Add support for the recursive wildcard ** in pathlib.PurePath.match(). This is a behaviour change for anyone currently calling match() with ** in their pattern, but I reckon the vast majority of those users are expecting recursive matching and haven't realised that it's not working (: This brings match() behaviour closer to full_match(). Issue: gh-139282 📚 Documentation preview 📚: https://cpython-previews--139311.org.readthedocs.build/
Open Graph Description: Add support for the recursive wildcard ** in pathlib.PurePath.match(). This is a behaviour change for anyone currently calling match() with ** in their pattern, but I reckon the vast majority of th...
X Description: Add support for the recursive wildcard ** in pathlib.PurePath.match(). This is a behaviour change for anyone currently calling match() with ** in their pattern, but I reckon the vast majority of th...
Opengraph URL: https://github.com/python/cpython/pull/139311
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:04010cec-76f0-14ca-82e7-9bbe12b639f9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BD5A:161427:4199FD:5D2F7F:69973381 |
| html-safe-nonce | b0faf1a781bddd23a826dd2f866dc6f7cfa829f150b33129b3a324060697ff54 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDVBOjE2MTQyNzo0MTk5RkQ6NUQyRjdGOjY5OTczMzgxIiwidmlzaXRvcl9pZCI6IjExNDU4ODQ0MTcyMTIyMzI1NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d0109910bc8720b336a7ad669fe825b656b54afd132d3c54f5a65526ffdeafbb |
| hovercard-subject-tag | pull_request:2858302353 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/139311/commits/ac8f149b8f70bfd52e8634eb792234f80a7b7f7c |
| twitter:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| og:image:alt | Add support for the recursive wildcard ** in pathlib.PurePath.match(). This is a behaviour change for anyone currently calling match() with ** in their pattern, but I reckon the vast majority of th... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4051f96c6e8abed71a9051f31a91e56a5b78dbd22af9b86a5de9e4493e4ac468 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 49df80d704ef74c931d9b4e071b40daadea4e9b1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width