Title: GH-110109: Churn `pathlib.PurePath` methods by barneygale · Pull Request #112012 · python/cpython · GitHub
Open Graph Title: GH-110109: Churn `pathlib.PurePath` methods by barneygale · Pull Request #112012 · python/cpython
X Title: GH-110109: Churn `pathlib.PurePath` methods by barneygale · Pull Request #112012 · python/cpython
Description: Re-arrange pathlib.PurePath methods in source code. Ditto for PurePathTest. No other changes. The PurePath implementations of certain special methods, such as __eq__() and __hash__(), are not usually applicable to user subclasses of _PathBase. To facilitate their removal, another patch will split the PurePath class into _PurePathBase and PurePath, with the latter providing these special methods. This patch prepares the ground for splitting PurePath. It's similar to e8d77b0, which preceded splitting Path. By churning the methods here, subsequent patches will be easier to review and less likely to break things. Issue: gh-110109
Open Graph Description: Re-arrange pathlib.PurePath methods in source code. Ditto for PurePathTest. No other changes. The PurePath implementations of certain special methods, such as __eq__() and __hash__(), are not usual...
X Description: Re-arrange pathlib.PurePath methods in source code. Ditto for PurePathTest. No other changes. The PurePath implementations of certain special methods, such as __eq__() and __hash__(), are not usual...
Opengraph URL: https://github.com/python/cpython/pull/112012
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:12a6b7bb-cc0b-821c-90a2-a5c4b469b31a |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C918:38BF1A:1031118:15A894F:69699319 |
| html-safe-nonce | bdbc1785228a60f27fbc35a1dfb2df48dfd3531994455e245bf312db30d095c8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTE4OjM4QkYxQToxMDMxMTE4OjE1QTg5NEY6Njk2OTkzMTkiLCJ2aXNpdG9yX2lkIjoiMzAyODc5MDg5MDAwMDM4ODg4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2d57ba85852b92e25d935865a19a6536c79db4efba37bf607be58d221d7cef5e |
| hovercard-subject-tag | pull_request:1598037517 |
| 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/112012/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 | Re-arrange pathlib.PurePath methods in source code. Ditto for PurePathTest. No other changes. The PurePath implementations of certain special methods, such as __eq__() and __hash__(), are not usual... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width