Title: bpo-44316: add `keep_curdir` and `keep_pardir` arguments to `os.path.normpath()` by barneygale · Pull Request #26694 · python/cpython · GitHub
Open Graph Title: bpo-44316: add `keep_curdir` and `keep_pardir` arguments to `os.path.normpath()` by barneygale · Pull Request #26694 · python/cpython
X Title: bpo-44316: add `keep_curdir` and `keep_pardir` arguments to `os.path.normpath()` by barneygale · Pull Request #26694 · python/cpython
Description: Retaining '..' entries ensures the path's meaning is preserved in the presence of symlinks. This functionality was previously available only in pathlib. Retaining '.' entries helps ensure shells don't interpret paths differently (compare ./python and python). Thanks to @eryksun for the suggestion. https://bugs.python.org/issue44316
Open Graph Description: Retaining '..' entries ensures the path's meaning is preserved in the presence of symlinks. This functionality was previously available only in pathlib. Retaining '.' entries he...
X Description: Retaining '..' entries ensures the path's meaning is preserved in the presence of symlinks. This functionality was previously available only in pathlib. Retaining '....
Opengraph URL: https://github.com/python/cpython/pull/26694
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:22caf9b6-5a67-9b30-ce8c-15ee04925a41 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9EB4:106A75:142CF8E:1C624B1:696A3543 |
| html-safe-nonce | bc0ef263294ecc262309d332c820b59e4a4dd05e83f7a96254286665f9969279 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUI0OjEwNkE3NToxNDJDRjhFOjFDNjI0QjE6Njk2QTM1NDMiLCJ2aXNpdG9yX2lkIjoiMzc1MjYwNTAyOTU2MjQ2MzU1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 42bcd48d4835bc769a39a578f4b5d7d05b68e479b8720078ab435b531fd677a4 |
| hovercard-subject-tag | pull_request:668921287 |
| 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/26694/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 | Retaining '..' entries ensures the path's meaning is preserved in the presence of symlinks. This functionality was previously available only in pathlib. Retaining '.' entries he... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| 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 | 7a9163cefd1ea4bd06f8eb7c082f43e4e53f626f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width