Title: [WIP] GH-89812: Add `tarfile.TarPath` by barneygale · Pull Request #104272 · python/cpython · GitHub
Open Graph Title: [WIP] GH-89812: Add `tarfile.TarPath` by barneygale · Pull Request #104272 · python/cpython
X Title: [WIP] GH-89812: Add `tarfile.TarPath` by barneygale · Pull Request #104272 · python/cpython
Description: Split pathlib.Path into _AbstractPath and Path Make _AbstractPath.stat(), open() and iterdir() abstract Implement _AbstractPath._scandir() via iterdir() Add follow_symlinks argument to is_dir() for consistency with os.DirEntry.is_dir() Use context manager enter value in walk() to enable use of a contextlib.nullcontext() Implement _AbstractPath.is_mount() and is_junction() using stat(), restoring implementation from before #31458 in the former case. [more to come!] Issue: gh-89812
Open Graph Description: Split pathlib.Path into _AbstractPath and Path Make _AbstractPath.stat(), open() and iterdir() abstract Implement _AbstractPath._scandir() via iterdir() Add follow_symlinks argument to is_dir() f...
X Description: Split pathlib.Path into _AbstractPath and Path Make _AbstractPath.stat(), open() and iterdir() abstract Implement _AbstractPath._scandir() via iterdir() Add follow_symlinks argument to is_dir() f...
Opengraph URL: https://github.com/python/cpython/pull/104272
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:f31976f2-ab1e-de43-9b76-4c7d9feea095 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C898:9F506:14BCC80:1BC1853:6969B515 |
| html-safe-nonce | 0a60e7ac8b30123472f954a2c0a0e7145bc06e574e1bcbd8d744c00153f3fecc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODk4OjlGNTA2OjE0QkNDODA6MUJDMTg1Mzo2OTY5QjUxNSIsInZpc2l0b3JfaWQiOiI0NDA5MTkwMDg4OTg5ODQ4ODUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 179151a8c0655ba4da7bfbc395170f9889e6e8d14c33b034eaf3d5c49125acb0 |
| hovercard-subject-tag | pull_request:1341257454 |
| 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/104272/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 | Split pathlib.Path into _AbstractPath and Path Make _AbstractPath.stat(), open() and iterdir() abstract Implement _AbstractPath._scandir() via iterdir() Add follow_symlinks argument to is_dir() f... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| 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 | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width