Title: Consolidate `pathlib.PurePath.match()` and `full_match()` · Issue #139282 · python/cpython · GitHub
Open Graph Title: Consolidate `pathlib.PurePath.match()` and `full_match()` · Issue #139282 · python/cpython
X Title: Consolidate `pathlib.PurePath.match()` and `full_match()` · Issue #139282 · python/cpython
Description: Whichever fool (me!) added pathlib.PurePath.full_match() should have given more consideration to adding an argument to match() instead of a new method. The behaviour isn't that different. The fact we have two very similar methods is a bi...
Open Graph Description: Whichever fool (me!) added pathlib.PurePath.full_match() should have given more consideration to adding an argument to match() instead of a new method. The behaviour isn't that different. The fact ...
X Description: Whichever fool (me!) added pathlib.PurePath.full_match() should have given more consideration to adding an argument to match() instead of a new method. The behaviour isn't that different. The f...
Opengraph URL: https://github.com/python/cpython/issues/139282
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consolidate `pathlib.PurePath.match()` and `full_match()`","articleBody":"Whichever fool (me!) added `pathlib.PurePath.full_match()` should have given more consideration to adding an argument to `match()` instead of a new method. The behaviour isn't _that_ different. The fact we have two very similar methods is a bit of a wart. It's hopefully not too late to rectify.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-139311\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/barneygale","@type":"Person","name":"barneygale"},"datePublished":"2025-09-24T04:03:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/139282/cpython/issues/139282"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:db0412fe-5d7d-8bb3-f93e-b0d781adddd8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDCC:2AA429:A2F4B3:E17FC1:696A3063 |
| html-safe-nonce | 55b455ab2a4047adbf6e7c42940417d46d78de7cfa0ebcfefcd4b9e2fa0116c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRENDOjJBQTQyOTpBMkY0QjM6RTE3RkMxOjY5NkEzMDYzIiwidmlzaXRvcl9pZCI6IjQ3NzI5Njc5OTkyODAzOTQzMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 12f2fd4b4b53a91a63f3ebcf5453870e6dcc58510ee549cffba404535394c2c2 |
| hovercard-subject-tag | issue:3447537165 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/139282/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9417eaea21f0ec6bfb24068b2af9da01ca192079ef9c53e6d7cbcf3a330f69d5/python/cpython/issues/139282 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9417eaea21f0ec6bfb24068b2af9da01ca192079ef9c53e6d7cbcf3a330f69d5/python/cpython/issues/139282 |
| og:image:alt | Whichever fool (me!) added pathlib.PurePath.full_match() should have given more consideration to adding an argument to match() instead of a new method. The behaviour isn't that different. The fact ... |
| 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 | ade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623 |
| 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 | c00842167ca2e5b13e8171812965d503e925ece6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width