Title: bpo-43012: remove `pathlib._Accessor` by barneygale · Pull Request #25701 · python/cpython · GitHub
Open Graph Title: bpo-43012: remove `pathlib._Accessor` by barneygale · Pull Request #25701 · python/cpython
X Title: bpo-43012: remove `pathlib._Accessor` by barneygale · Pull Request #25701 · python/cpython
Description: Per Pitrou: The original intent for the “accessor” thing was to have a variant that did all accesses under a filesystem tree in a race condition-free way using openat and friends. It turned out to be much too hairy to actually implement, so was entirely abandoned, but the accessor abstraction was left there. https://discuss.python.org/t/make-pathlib-extensible/3428/2 Accessors are: Lacking any internal purpose - '_NormalAccessor' is the only implementation Lacking any firm conceptual difference to Path objects themselves (inc. subclasses) Non-public, i.e. underscore prefixed - '_Accessor' and '_NormalAccessor' Unofficially used to implement customized Path objects, but once once bpo-24132 is addressed there will be a supported route for that. This patch preserves all existing behaviour. https://bugs.python.org/issue43012 Automerge-Triggered-By: GH:encukou
Open Graph Description: Per Pitrou: The original intent for the “accessor” thing was to have a variant that did all accesses under a filesystem tree in a race condition-free way using openat and friends. It turned out to...
X Description: Per Pitrou: The original intent for the “accessor” thing was to have a variant that did all accesses under a filesystem tree in a race condition-free way using openat and friends. It turned out to...
Opengraph URL: https://github.com/python/cpython/pull/25701
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:bb273e83-aaba-a12c-ca4a-8c911de91b45 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | EAB8:2AFF07:5CC6CE:7F4943:69694D72 |
| html-safe-nonce | b4f98e6d60170d3798c3f7438d327a86923b4c3e3e9c5d9b33e745af3e92af9f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUI4OjJBRkYwNzo1Q0M2Q0U6N0Y0OTQzOjY5Njk0RDcyIiwidmlzaXRvcl9pZCI6IjQ0OTA2MDI3Nzg5Mjg0MzQ1NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2290656b44ce6d7d50fd0b8dabd1a86123fa717c03f279bd51723ac10f183d97 |
| hovercard-subject-tag | pull_request:625645911 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/25701/checks |
| 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 | Per Pitrou: The original intent for the “accessor” thing was to have a variant that did all accesses under a filesystem tree in a race condition-free way using openat and friends. It turned out to... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width