Title: GH-89812: Churn `pathlib.Path` methods by barneygale · Pull Request #104243 · python/cpython · GitHub
Open Graph Title: GH-89812: Churn `pathlib.Path` methods by barneygale · Pull Request #104243 · python/cpython
X Title: GH-89812: Churn `pathlib.Path` methods by barneygale · Pull Request #104243 · python/cpython
Description: Re-arrange pathlib.Path methods in source code. No other changes. The methods are arranged as follows: stat() and dependants (exists(), is_dir(), etc) open() and dependants (read_text(), write_bytes(), etc) iterdir() and dependants (glob(), walk(), etc) All other Path methods This patch prepares the ground for a new _AbstractPath class, which will support the methods in groups 1, 2 and 3 above. By churning the methods here, subsequent patches will be easier to review and less likely to break things. Issue: gh-89812
Open Graph Description: Re-arrange pathlib.Path methods in source code. No other changes. The methods are arranged as follows: stat() and dependants (exists(), is_dir(), etc) open() and dependants (read_text(), write_byt...
X Description: Re-arrange pathlib.Path methods in source code. No other changes. The methods are arranged as follows: stat() and dependants (exists(), is_dir(), etc) open() and dependants (read_text(), write_byt...
Opengraph URL: https://github.com/python/cpython/pull/104243
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bc9bda27-1a35-27cc-0317-31207e537a9e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CA7A:F40F2:10CBF7A:170CC1E:6969F66C |
| html-safe-nonce | 7a772988c2407b5a806a7fc48aa458fd4e08ae775c1073428110e306b597576b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTdBOkY0MEYyOjEwQ0JGN0E6MTcwQ0MxRTo2OTY5RjY2QyIsInZpc2l0b3JfaWQiOiIyNTM4NjczNzkzNjg4Nzk0NzMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 01c2569e92859a400636c18a02133072b7e0e6627009a3bdf498121c5ae5ee35 |
| hovercard-subject-tag | pull_request:1340852609 |
| 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/104243/files |
| 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.Path methods in source code. No other changes. The methods are arranged as follows: stat() and dependants (exists(), is_dir(), etc) open() and dependants (read_text(), write_byt... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width