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/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:af1c67e8-cae9-e73a-a0a3-5eb1b9e5b553 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BDF4:5BE48:48EBAC0:6477EE0:6995EDED |
| html-safe-nonce | 13040fac7a457ab82a2972229101bbcb5185e86bc484360603d0da1fcd7712bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREY0OjVCRTQ4OjQ4RUJBQzA6NjQ3N0VFMDo2OTk1RURFRCIsInZpc2l0b3JfaWQiOiIyMjg0NzcyNzI2MDY0NjcyMjM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c6ca417c41d75f5f0257874e4633b801f58584121909be3a05e23c0c0d37d12a |
| 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/commits/59cf62b54b6b254790c0d1fbc05b89348b4166cc |
| 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 | 1161b1e91d57e776171599ebe7c3b8c4690792d1e87e83b5c77a9b1aeb391094 |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a8c6902042885fe21ac3491e553d741a50765a66 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width