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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6759b073-5a51-9e9a-9e20-9cc87da0f1a1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 980C:17EBDB:30DB4A:4102C6:69697BAE |
| html-safe-nonce | 4c4a49794686d79f9b710b782cad19a1edb126727fddbce2fd1279e43e1b4858 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODBDOjE3RUJEQjozMERCNEE6NDEwMkM2OjY5Njk3QkFFIiwidmlzaXRvcl9pZCI6IjI3MzkwNzI2MDQwMzMzNTA1NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0629536dd98be2530a20a39589d532d2dcc5316ccccd60506fda365ed52f6c77 |
| hovercard-subject-tag | pull_request:1341257454 |
| 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/104272/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 | 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 | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width