Title: pathlib's relative_to should behave like os.path.relpath · Issue #84538 · python/cpython · GitHub
Open Graph Title: pathlib's relative_to should behave like os.path.relpath · Issue #84538 · python/cpython
X Title: pathlib's relative_to should behave like os.path.relpath · Issue #84538 · python/cpython
Description: BPO 40358 Nosy @pitrou, @eryksun, @ammaraskar, @CuriousLearner, @CAM-Gerlach, @barneygale, @domragusa, @bowiechen PRs #19807#19813 Files relative_to.patch Note: these values reflect the state of the issue at the time it was migrated and ...
Open Graph Description: BPO 40358 Nosy @pitrou, @eryksun, @ammaraskar, @CuriousLearner, @CAM-Gerlach, @barneygale, @domragusa, @bowiechen PRs #19807#19813 Files relative_to.patch Note: these values reflect the state of th...
X Description: BPO 40358 Nosy @pitrou, @eryksun, @ammaraskar, @CuriousLearner, @CAM-Gerlach, @barneygale, @domragusa, @bowiechen PRs #19807#19813 Files relative_to.patch Note: these values reflect the state of th...
Opengraph URL: https://github.com/python/cpython/issues/84538
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pathlib's relative_to should behave like os.path.relpath","articleBody":"BPO | [40358](https://bugs.python.org/issue40358)\n--- | :---\nNosy | @pitrou, @eryksun, @ammaraskar, @CuriousLearner, @CAM-Gerlach, @barneygale, @domragusa, @bowiechen\nPRs | \u003cli\u003epython/cpython#19807\u003c/li\u003e\u003cli\u003epython/cpython#19813\u003c/li\u003e\nFiles | \u003cli\u003e[relative_to.patch](https://bugs.python.org/file49095/relative_to.patch \"Uploaded as text/plain at 2020-04-28.03:52:45 by @domragusa\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = None\ncreated_at = \u003cDate 2020-04-22.00:03:03.148\u003e\nlabels = ['type-feature', 'library', '3.11']\ntitle = \"pathlib's relative_to should behave like os.path.relpath\"\nupdated_at = \u003cDate 2022-02-22.23:57:02.772\u003e\nuser = 'https://github.com/domragusa'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2022-02-22.23:57:02.772\u003e\nactor = 'terry.reedy'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2020-04-22.00:03:03.148\u003e\ncreator = 'd.ragusa'\ndependencies = []\nfiles = ['49095']\nhgrepos = []\nissue_num = 40358\nkeywords = ['patch']\nmessage_count = 11.0\nmessages = ['366958', '367037', '367041', '367047', '367490', '367697', '367723', '370254', '393696', '393777', '408249']\nnosy_count = 10.0\nnosy_names = ['pitrou', 'python-dev', 'eryksun', 'ammar2', 'Socob', 'CuriousLearner', 'CAM-Gerlach', 'barneygale', 'd.ragusa', 'bowiechen']\npr_nums = ['19807', '19813']\npriority = 'normal'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue40358'\nversions = ['Python 3.11']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/domragusa","@type":"Person","name":"domragusa"},"datePublished":"2020-04-22T00:03:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/84538/cpython/issues/84538"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5de7752f-d20a-e8ab-2a32-21edaeaa0d94 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D842:34CBCC:81A4A8:AF8285:6969E3EB |
| html-safe-nonce | 11751b80c9fa9e2bbdcb441ce412648e65cdacdce02ebd7f218efccafda2b9be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODQyOjM0Q0JDQzo4MUE0QTg6QUY4Mjg1OjY5NjlFM0VCIiwidmlzaXRvcl9pZCI6IjEzNTkyNTQyMzA2NTEyMzMyNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 444b61aa310bc5f1b240d81fe71018db35236a4f5ee85604090ed97fa42c8e32 |
| hovercard-subject-tag | issue:1199034808 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/84538/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2ea6dbec1636d4b1d1865af808395a6e85dd67013cb0e4f1b465e5a62c77cbf8/python/cpython/issues/84538 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2ea6dbec1636d4b1d1865af808395a6e85dd67013cb0e4f1b465e5a62c77cbf8/python/cpython/issues/84538 |
| og:image:alt | BPO 40358 Nosy @pitrou, @eryksun, @ammaraskar, @CuriousLearner, @CAM-Gerlach, @barneygale, @domragusa, @bowiechen PRs #19807#19813 Files relative_to.patch Note: these values reflect the state of th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | domragusa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width