Title: bpo-42998: add 'user' parameter to pathlib.Path.home() by barneygale · Pull Request #25271 · python/cpython · GitHub
Open Graph Title: bpo-42998: add 'user' parameter to pathlib.Path.home() by barneygale · Pull Request #25271 · python/cpython
X Title: bpo-42998: add 'user' parameter to pathlib.Path.home() by barneygale · Pull Request #25271 · python/cpython
Description: Also slightly re-arrange the internals such that expanduser() calls home(). This is to aid with the creation of an AbstractPath class in bpo-24132, where cwd() and home() will be abstract methods, but not absolute() or expanduser(). https://bugs.python.org/issue42998
Open Graph Description: Also slightly re-arrange the internals such that expanduser() calls home(). This is to aid with the creation of an AbstractPath class in bpo-24132, where cwd() and home() will be abstract methods, ...
X Description: Also slightly re-arrange the internals such that expanduser() calls home(). This is to aid with the creation of an AbstractPath class in bpo-24132, where cwd() and home() will be abstract methods, ...
Opengraph URL: https://github.com/python/cpython/pull/25271
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:8abc0186-4d0b-3ad1-11d6-df66065dcb9d |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | DBE6:24B4E0:38E936:4CDF85:6969AD6A |
| html-safe-nonce | 3d0cb2bf9f29d594fbcd65c81d3a92a946e002b4fdbdac27f6ab675c422577cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkU2OjI0QjRFMDozOEU5MzY6NENERjg1OjY5NjlBRDZBIiwidmlzaXRvcl9pZCI6IjE1NDk3NTI2NTYwNDcyMjIxMjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 10705c1f3fffa8349d7c63e13a817ccaf5791ab05064962c0f422234917bee79 |
| hovercard-subject-tag | pull_request:611139889 |
| 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/25271/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 | Also slightly re-arrange the internals such that expanduser() calls home(). This is to aid with the creation of an AbstractPath class in bpo-24132, where cwd() and home() will be abstract methods, ... |
| og:site_name | GitHub |
| og:type | object |
| 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 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 | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width