René's URL Explorer Experiment


Title: gh-78707: deprecate passing >1 argument to `PurePath.[is_]relative_to()` by barneygale · Pull Request #94469 · python/cpython · GitHub

Open Graph Title: gh-78707: deprecate passing >1 argument to `PurePath.[is_]relative_to()` by barneygale · Pull Request #94469 · python/cpython

X Title: gh-78707: deprecate passing >1 argument to `PurePath.[is_]relative_to()` by barneygale · Pull Request #94469 · python/cpython

Description: This brings relative_to() and is_relative_to() more in line with other pathlib methods like rename() and symlink_to(). Resolves #78707. Issue: gh-78707 Automerge-Triggered-By: GH:brettcannon

Open Graph Description: This brings relative_to() and is_relative_to() more in line with other pathlib methods like rename() and symlink_to(). Resolves #78707. Issue: gh-78707 Automerge-Triggered-By: GH:brettcannon

X Description: This brings relative_to() and is_relative_to() more in line with other pathlib methods like rename() and symlink_to(). Resolves #78707. Issue: gh-78707 Automerge-Triggered-By: GH:brettcannon

Opengraph URL: https://github.com/python/cpython/pull/94469

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:546a55cd-6cbc-02fe-a384-cf37fa389595
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA356:8DE55:69E36:8A61C:696951EE
html-safe-nonce2cd98b7c61a4cb10ce2eb4013f4f6b5cc33e8709f8132d5b1c65eeca30944dbb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzU2OjhERTU1OjY5RTM2OjhBNjFDOjY5Njk1MUVFIiwidmlzaXRvcl9pZCI6IjE4MjQwOTI5MDYxMDAxODM1MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0950bdf07307794edc7056d13386f359a0c2d4dba1a0e0a190ba7faf99732250
hovercard-subject-tagpull_request:984356661
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/94469/files
twitter:imagehttps://avatars.githubusercontent.com/u/960340?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/960340?s=400&v=4
og:image:altThis brings relative_to() and is_relative_to() more in line with other pathlib methods like rename() and symlink_to(). Resolves #78707. Issue: gh-78707 Automerge-Triggered-By: GH:brettcannon
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/94469/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F94469%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F94469%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/94469/files
Reloadhttps://github.com/python/cpython/pull/94469/files
Reloadhttps://github.com/python/cpython/pull/94469/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/94469/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/94469/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
miss-islingtonhttps://github.com/miss-islington
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-78707-pathlib-relative-to-argumentshttps://github.com/barneygale/cpython/tree/gh-78707-pathlib-relative-to-arguments
Conversation 18 https://github.com/python/cpython/pull/94469
Commits 8 https://github.com/python/cpython/pull/94469/commits
Checks 0 https://github.com/python/cpython/pull/94469/checks
Files changed https://github.com/python/cpython/pull/94469/files
Please reload this pagehttps://github.com/python/cpython/pull/94469/files
gh-78707: deprecate passing >1 argument to PurePath.[is_]relative_to() https://github.com/python/cpython/pull/94469/files#top
Show all changes 8 commits https://github.com/python/cpython/pull/94469/files
594bd8f gh-78707: deprecate passing >1 argument to `PurePath.[is_]relative_to()` barneygale Jun 30, 2022 https://github.com/python/cpython/pull/94469/commits/594bd8f246947574799d870fabd6f1d8020b14a5
3268a10 Address review feedback barneygale Jul 9, 2022 https://github.com/python/cpython/pull/94469/commits/3268a10a84d9fad25cd001f8e37c0d070a66b65a
0e79a85 Merge branch 'main' into gh-78707-pathlib-relative-to-arguments barneygale Nov 25, 2022 https://github.com/python/cpython/pull/94469/commits/0e79a853ac867e49fd4a1b841b50162bd2d839ca
7e8e553 Use new deprecation mechanism barneygale Nov 25, 2022 https://github.com/python/cpython/pull/94469/commits/7e8e5537341ec474c79921d8e5aee9c7de4667fa
6ac36fc Fix dodgy merge barneygale Nov 25, 2022 https://github.com/python/cpython/pull/94469/commits/6ac36fc1a8ab08c983c472027ec25ba7926e6ce9
00e6677 Tweak NEWS now we have `walk_up`. barneygale Nov 25, 2022 https://github.com/python/cpython/pull/94469/commits/00e667768443e34d4bd7561867c1f002bda3b05d
6e966ba Make deprecation notices uniform. barneygale Nov 25, 2022 https://github.com/python/cpython/pull/94469/commits/6e966baa484594ab6199aab3de9f0622635ba239
0374a35 Apply suggestions from code review barneygale Dec 6, 2022 https://github.com/python/cpython/pull/94469/commits/0374a357f71fd85a6e1162550dabca5706b7907b
Clear filters https://github.com/python/cpython/pull/94469/files
Please reload this pagehttps://github.com/python/cpython/pull/94469/files
Please reload this pagehttps://github.com/python/cpython/pull/94469/files
pathlib.rst https://github.com/python/cpython/pull/94469/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
pathlib.py https://github.com/python/cpython/pull/94469/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
test_pathlib.py https://github.com/python/cpython/pull/94469/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
2022-07-01-00-01-22.gh-issue-78707.fHGSuM.rst https://github.com/python/cpython/pull/94469/files#diff-72c0bf765204282586f7e02cac5c8aadae60574da5c0c5f2cecb550acfdeb223
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L525
Doc/library/pathlib.rsthttps://github.com/python/cpython/pull/94469/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
View file https://github.com/barneygale/cpython/blob/0374a357f71fd85a6e1162550dabca5706b7907b/Doc/library/pathlib.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/94469/{{ revealButtonHref }}
https://github.com/python/cpython/pull/94469/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
Please reload this pagehttps://github.com/python/cpython/pull/94469/files
https://github.com/python/cpython/pull/94469/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/94469/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/94469/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/94469/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/94469/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/94469/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
Lib/pathlib.pyhttps://github.com/python/cpython/pull/94469/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
View file https://github.com/barneygale/cpython/blob/0374a357f71fd85a6e1162550dabca5706b7907b/Lib/pathlib.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/94469/{{ revealButtonHref }}
https://github.com/python/cpython/pull/94469/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/94469/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/94469/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
Lib/test/test_pathlib.pyhttps://github.com/python/cpython/pull/94469/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
View file https://github.com/barneygale/cpython/blob/0374a357f71fd85a6e1162550dabca5706b7907b/Lib/test/test_pathlib.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/94469/{{ revealButtonHref }}
https://github.com/python/cpython/pull/94469/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
https://github.com/python/cpython/pull/94469/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
https://github.com/python/cpython/pull/94469/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
https://github.com/python/cpython/pull/94469/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
Misc/NEWS.d/next/Library/2022-07-01-00-01-22.gh-issue-78707.fHGSuM.rsthttps://github.com/python/cpython/pull/94469/files#diff-72c0bf765204282586f7e02cac5c8aadae60574da5c0c5f2cecb550acfdeb223
View file https://github.com/barneygale/cpython/blob/0374a357f71fd85a6e1162550dabca5706b7907b/Misc/NEWS.d/next/Library/2022-07-01-00-01-22.gh-issue-78707.fHGSuM.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/94469/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.