René's URL Explorer Experiment


Title: GH-123599: Deprecate duplicate `pathname2url()` implementation by barneygale · Pull Request #127380 · python/cpython · GitHub

Open Graph Title: GH-123599: Deprecate duplicate `pathname2url()` implementation by barneygale · Pull Request #127380 · python/cpython

X Title: GH-123599: Deprecate duplicate `pathname2url()` implementation by barneygale · Pull Request #127380 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Call urllib.request.pathname2url() from pathlib.Path.as_uri(), and deprecate the duplicate implementation in PurePath. Issue: Path.from_uri() doesn't work if the URI contains host component #...

X Description: Call urllib.request.pathname2url() from pathlib.Path.as_uri(), and deprecate the duplicate implementation in PurePath. Issue: Path.from_uri() doesn't work if the URI contains host compone...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:efa7cf97-980c-464c-788e-eb2756771552
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBA2C:3B07B3:9ABE37:C1EA53:6B021B0C
html-safe-nonceee9050d986ba4d112ed4b2ef24b7efc9f40103100991eb11121aef13b7a06463
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTJDOjNCMDdCMzo5QUJFMzc6QzFFQTUzOjZCMDIxQjBDIiwidmlzaXRvcl9pZCI6Ijg0MTM4MjMwODkwNzAxODUyMjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2bf69901ce8b5a42e01f18a8f6299787d3b3de137c76dbffe8c5f46293196962
hovercard-subject-tagpull_request:2206475763
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/127380/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5a4d9a97d82894538cbfc9ff915ae9a066d64dc847c7a465e16564a6c57d808d/python/cpython/pull/127380
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5a4d9a97d82894538cbfc9ff915ae9a066d64dc847c7a465e16564a6c57d808d/python/cpython/pull/127380
og:image:altCall urllib.request.pathname2url() from pathlib.Path.as_uri(), and deprecate the duplicate implementation in PurePath. Issue: Path.from_uri() doesn't work if the URI contains host component #...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/127380#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127380
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127380
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/127380
Reloadhttps://github.com/python/cpython/pull/127380
Reloadhttps://github.com/python/cpython/pull/127380
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-123599-use-urllib-2https://github.com/barneygale/cpython/tree/gh-123599-use-urllib-2
Conversationhttps://github.com/python/cpython/pull/127380
Commits5 (5)https://github.com/python/cpython/pull/127380/commits
Checkshttps://github.com/python/cpython/pull/127380/checks
Files changedhttps://github.com/python/cpython/pull/127380/files
GH-123599: Deprecate duplicate pathname2url() implementationhttps://github.com/python/cpython/pull/127380#top
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-123599-use-urllib-2https://github.com/barneygale/cpython/tree/gh-123599-use-urllib-2
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 29, 2024https://github.com/python/cpython/pull/127380#issue-2703569083
Please reload this pagehttps://github.com/python/cpython/pull/127380
Path.from_uri() doesn't work if the URI contains host component #123599https://github.com/python/cpython/issues/123599
https://cpython-previews--127380.org.readthedocs.build/https://cpython-previews--127380.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/127380
https://github.com/barneygale
pythonGH-123599https://github.com/python/cpython/issues/123599
: Deprecate duplicatehttps://github.com/python/cpython/pull/127380/commits/e17fc75225e172507bb21eb9420400f27a067509
pathname2url()https://github.com/python/cpython/pull/127380/commits/e17fc75225e172507bb21eb9420400f27a067509
implementationhttps://github.com/python/cpython/pull/127380/commits/e17fc75225e172507bb21eb9420400f27a067509
e17fc75https://github.com/python/cpython/pull/127380/commits/e17fc75225e172507bb21eb9420400f27a067509
https://github.com/barneygale
barneygalehttps://github.com/barneygale
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Nov 29, 2024https://github.com/python/cpython/pull/127380#event-15470102668
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 29, 2024 https://github.com/python/cpython/pull/127380#ref-issue-2500631135
Path.from_uri() doesn't work if the URI contains host component #123599 https://github.com/python/cpython/issues/123599
https://github.com/barneygale
barneygalehttps://github.com/barneygale
November 29, 2024 01:24https://github.com/python/cpython/pull/127380#event-15470201675
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 29, 2024https://github.com/python/cpython/pull/127380#event-15470201828
https://github.com/nineteendo
nineteendohttps://github.com/nineteendo
Nov 29, 2024 https://github.com/python/cpython/pull/127380#pullrequestreview-2469236152
View reviewed changes https://github.com/python/cpython/pull/127380/files/e17fc75225e172507bb21eb9420400f27a067509
Lib/pathlib/_local.pyhttps://github.com/python/cpython/pull/127380/files/e17fc75225e172507bb21eb9420400f27a067509#diff-605d7dbf8e86b830b276d61a776a8d7da625b34316c59e154441624beabbe70a
Please reload this pagehttps://github.com/python/cpython/pull/127380
barneygalehttps://github.com/barneygale
March 18, 2025 20:48https://github.com/python/cpython/pull/127380#commits-pushed-a1f8819
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/127380/commits/a1f88196d8e9aa651108ce157c135a9ba6409895
pythongh-123599https://github.com/python/cpython/issues/123599
-use-urllib-2https://github.com/python/cpython/pull/127380/commits/a1f88196d8e9aa651108ce157c135a9ba6409895
a1f8819https://github.com/python/cpython/pull/127380/commits/a1f88196d8e9aa651108ce157c135a9ba6409895
https://github.com/barneygale
Push back removal to 3.19https://github.com/python/cpython/pull/127380/commits/c6e1a8d12d3b691e433c2f383afbda1332240af1
c6e1a8dhttps://github.com/python/cpython/pull/127380/commits/c6e1a8d12d3b691e433c2f383afbda1332240af1
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 19, 2025 https://github.com/python/cpython/pull/127380#ref-pullrequest-2503521058
GH-123599: Reject non-local authority in pathlib.Path.from_uri() on POSIX #123650 https://github.com/python/cpython/pull/123650
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Mar 19, 2025 https://github.com/python/cpython/pull/127380#pullrequestreview-2700602059
View reviewed changes https://github.com/python/cpython/pull/127380/files/c6e1a8d12d3b691e433c2f383afbda1332240af1
Lib/pathlib/__init__.pyhttps://github.com/python/cpython/pull/127380/files/c6e1a8d12d3b691e433c2f383afbda1332240af1#diff-2282b1d4074c3cc317f8490ac16730aef232a3a125b8acfc49232dcd6c4f6d88
Please reload this pagehttps://github.com/python/cpython/pull/127380
Lib/pathlib/__init__.pyhttps://github.com/python/cpython/pull/127380/files/c6e1a8d12d3b691e433c2f383afbda1332240af1#diff-2282b1d4074c3cc317f8490ac16730aef232a3a125b8acfc49232dcd6c4f6d88
Please reload this pagehttps://github.com/python/cpython/pull/127380
Lib/pathlib/__init__.pyhttps://github.com/python/cpython/pull/127380/files/c6e1a8d12d3b691e433c2f383afbda1332240af1#diff-2282b1d4074c3cc317f8490ac16730aef232a3a125b8acfc49232dcd6c4f6d88
Please reload this pagehttps://github.com/python/cpython/pull/127380
Lib/pathlib/__init__.pyhttps://github.com/python/cpython/pull/127380/files/c6e1a8d12d3b691e433c2f383afbda1332240af1#diff-2282b1d4074c3cc317f8490ac16730aef232a3a125b8acfc49232dcd6c4f6d88
Please reload this pagehttps://github.com/python/cpython/pull/127380
barneygalehttps://github.com/barneygale
March 20, 2025 00:08https://github.com/python/cpython/pull/127380#commits-pushed-95ec78d
https://github.com/barneygale
https://github.com/AA-Turner
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/127380/commits/95ec78d751eab861a2676f0027a132e3764abe78
95ec78dhttps://github.com/python/cpython/pull/127380/commits/95ec78d751eab861a2676f0027a132e3764abe78
https://github.com/barneygale
Address review feedbackhttps://github.com/python/cpython/pull/127380/commits/385e6848034d1faa1f051c2abcedeb72b5871399
385e684https://github.com/python/cpython/pull/127380/commits/385e6848034d1faa1f051c2abcedeb72b5871399
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Mar 20, 2025 https://github.com/python/cpython/pull/127380#pullrequestreview-2700705363
View reviewed changes https://github.com/python/cpython/pull/127380/files/385e6848034d1faa1f051c2abcedeb72b5871399
AA-Turnerhttps://github.com/AA-Turner
https://github.com/python/cpython/pull/127380#pullrequestreview-2700705363
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/127380
Doc/library/pathlib.rsthttps://github.com/python/cpython/pull/127380/files/385e6848034d1faa1f051c2abcedeb72b5871399#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
Please reload this pagehttps://github.com/python/cpython/pull/127380
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 20, 2025https://github.com/python/cpython/pull/127380#event-16885343145
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 20, 2025https://github.com/python/cpython/pull/127380#issuecomment-2738685678
Please reload this pagehttps://github.com/python/cpython/pull/127380
#123650https://github.com/python/cpython/pull/123650
Please reload this pagehttps://github.com/python/cpython/pull/127380
https://github.com/barneygale
barneygalehttps://github.com/barneygale
f141e8ehttps://github.com/python/cpython/commit/f141e8ec2a2e8d21fc08c1f56ef40104c7a7fad2
Mar 20, 2025https://github.com/python/cpython/pull/127380#event-16886210014
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 20, 2025https://github.com/python/cpython/pull/127380#event-16886210482
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Mar 20, 2025https://github.com/python/cpython/pull/127380#issuecomment-2738718781
#123650https://github.com/python/cpython/pull/123650
#126844 (review)https://github.com/python/cpython/pull/126844#pullrequestreview-2700749754
Please reload this pagehttps://github.com/python/cpython/pull/127380
https://github.com/donbarbos
donbarboshttps://github.com/donbarbos
Dec 26, 2025 https://github.com/python/cpython/pull/127380#ref-pullrequest-3762424187
Deprecate PurePath.as_uri python/typeshed#15178 https://github.com/python/typeshed/pull/15178
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127380
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/python/cpython/pull/127380/files/385e6848034d1faa1f051c2abcedeb72b5871399
https://github.com/nineteendo
nineteendo https://github.com/nineteendo
https://github.com/python/cpython/pull/127380/files/e17fc75225e172507bb21eb9420400f27a067509
Please reload this pagehttps://github.com/python/cpython/pull/127380
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Please reload this pagehttps://github.com/python/cpython/pull/127380
https://github.com/barneygale
https://github.com/AA-Turner
https://github.com/nineteendo
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.