Title: GH-80486: Fix handling of NTFS alternate data streams in pathlib by barneygale · Pull Request #102454 · python/cpython · GitHub
Open Graph Title: GH-80486: Fix handling of NTFS alternate data streams in pathlib by barneygale · Pull Request #102454 · python/cpython
X Title: GH-80486: Fix handling of NTFS alternate data streams in pathlib by barneygale · Pull Request #102454 · python/cpython
Description: This fixes round-tripping of Windows paths like ./c:a in pathlib. Previously, pathlib removed the ./ prefix when generating a string representation of such paths. This changed the meaning, from a file in the current directory called "c" with an NTFS alternate data stream, to a relative path on the "c:" drive. Most of the patch by @kmaork. I brought it up-to-date. Issue: gh-80486
Open Graph Description: This fixes round-tripping of Windows paths like ./c:a in pathlib. Previously, pathlib removed the ./ prefix when generating a string representation of such paths. This changed the meaning, from a f...
X Description: This fixes round-tripping of Windows paths like ./c:a in pathlib. Previously, pathlib removed the ./ prefix when generating a string representation of such paths. This changed the meaning, from a f...
Opengraph URL: https://github.com/python/cpython/pull/102454
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:352eedf3-3fe6-680f-f352-bea8ced66be7 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A320:2F1DAE:33476D:435645:696B3C81 |
| html-safe-nonce | 72a52d003aa2a1e1cf9ee7065f01560677f38d33dd5caf717c15dd379722c529 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzIwOjJGMURBRTozMzQ3NkQ6NDM1NjQ1OjY5NkIzQzgxIiwidmlzaXRvcl9pZCI6IjE3NTUwMjE4NjQ4MTYyOTUwNDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 542fe8f1ec31faf51b528fa34e064927a2fb1d625eaef90a2ae672feb0d926de |
| hovercard-subject-tag | pull_request:1263623089 |
| 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/102454/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 | This fixes round-tripping of Windows paths like ./c:a in pathlib. Previously, pathlib removed the ./ prefix when generating a string representation of such paths. This changed the meaning, from a f... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width