Title: gh-94909: fix joining of absolute and relative Windows paths in pathlib by barneygale · Pull Request #95450 · python/cpython · GitHub
Open Graph Title: gh-94909: fix joining of absolute and relative Windows paths in pathlib by barneygale · Pull Request #95450 · python/cpython
X Title: gh-94909: fix joining of absolute and relative Windows paths in pathlib by barneygale · Pull Request #95450 · python/cpython
Description: Have pathlib use os.path.join() to join arguments to the PurePath initialiser, which fixes a minor bug when handling relative paths with drives. Previously: >>> from pathlib import PureWindowsPath >>> a = 'C:/a/b' >>> b = 'C:x/y' >>> PureWindowsPath(a, b) PureWindowsPath('C:x/y') Now: >>> PureWindowsPath(a, b) PureWindowsPath('C:/a/b/x/y') Issue: gh-94909 Automerge-Triggered-By: GH:brettcannon
Open Graph Description: Have pathlib use os.path.join() to join arguments to the PurePath initialiser, which fixes a minor bug when handling relative paths with drives. Previously: >>> from pathlib import PureWin...
X Description: Have pathlib use os.path.join() to join arguments to the PurePath initialiser, which fixes a minor bug when handling relative paths with drives. Previously: >>> from pathlib im...
Opengraph URL: https://github.com/python/cpython/pull/95450
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:06599d20-0301-7272-d63f-e83829708b68 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | EE30:1DECF9:1B575F4:23A6F02:696B36F1 |
| html-safe-nonce | af02a0e1cf24c936b5585372c78a47c564323b78c0357cefae26c2090674a749 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTMwOjFERUNGOToxQjU3NUY0OjIzQTZGMDI6Njk2QjM2RjEiLCJ2aXNpdG9yX2lkIjoiNTUxNDcwMTk5NjUzMTg1NzEzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8e6c67f5cc3791647c8b4d3bf7ae3687dbfddb4135a02a02baf75d45b2665538 |
| hovercard-subject-tag | pull_request:1012323123 |
| 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/95450/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 | Have pathlib use os.path.join() to join arguments to the PurePath initialiser, which fixes a minor bug when handling relative paths with drives. Previously: >>> from pathlib import PureWin... |
| 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