Title: Add case_sensitive argument to `pathlib.PurePath.match()` · Issue #104484 · python/cpython · GitHub
Open Graph Title: Add case_sensitive argument to `pathlib.PurePath.match()` · Issue #104484 · python/cpython
X Title: Add case_sensitive argument to `pathlib.PurePath.match()` · Issue #104484 · python/cpython
Description: In #81079 we added a case_sensitive argument to pathlib.Path.glob() and rglob(). It would be good to have this functionality available in the closely-related PurePath.match() method. The rationale is much the same: this argument is usefu...
Open Graph Description: In #81079 we added a case_sensitive argument to pathlib.Path.glob() and rglob(). It would be good to have this functionality available in the closely-related PurePath.match() method. The rationale ...
X Description: In #81079 we added a case_sensitive argument to pathlib.Path.glob() and rglob(). It would be good to have this functionality available in the closely-related PurePath.match() method. The rationale ...
Opengraph URL: https://github.com/python/cpython/issues/104484
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add case_sensitive argument to `pathlib.PurePath.match()`","articleBody":"In #81079 we added a *case_sensitive* argument to `pathlib.Path.glob()` and `rglob()`. It would be good to have this functionality available in the closely-related `PurePath.match()` method. The rationale is much the same: this argument is useful when dealing with case-sensitive filesystems on Windows, and case-insensitive filesystems on Posix. Also, it would allow this method to be used from `glob()` to implement recursive globbing efficiently, which is important for #102613.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104565\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/barneygale","@type":"Person","name":"barneygale"},"datePublished":"2023-05-14T18:56:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/104484/cpython/issues/104484"}
| 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:504a9ccc-ac87-9aaf-3a08-bbc63c6246fc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9AD6:339E6E:39925D:4CFB79:6969AD60 |
| html-safe-nonce | 4f11dd77053c2867f883373368ff08814f9a6fd2a480a83a18139218bb6f60be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUQ2OjMzOUU2RTozOTkyNUQ6NENGQjc5OjY5NjlBRDYwIiwidmlzaXRvcl9pZCI6IjUyNDA5MzQxMjM4ODU0MDc1ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7252ea2b405f8241866ffab63978b545ce1c99410b04234ad9ce471ef8b6682a |
| hovercard-subject-tag | issue:1709040130 |
| 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/104484/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0048d2604759be12a7bd4060184ccce019a5db47e00bf9b06bf85e1f3ca71e13/python/cpython/issues/104484 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0048d2604759be12a7bd4060184ccce019a5db47e00bf9b06bf85e1f3ca71e13/python/cpython/issues/104484 |
| og:image:alt | In #81079 we added a case_sensitive argument to pathlib.Path.glob() and rglob(). It would be good to have this functionality available in the closely-related PurePath.match() method. The rationale ... |
| 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 | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| 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 | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width