René's URL Explorer Experiment


Title: GH-127236: `pathname2url()`: generate RFC 1738 URL for absolute POSIX path by barneygale · Pull Request #127194 · python/cpython · GitHub

Open Graph Title: GH-127236: `pathname2url()`: generate RFC 1738 URL for absolute POSIX path by barneygale · Pull Request #127194 · python/cpython

X Title: GH-127236: `pathname2url()`: generate RFC 1738 URL for absolute POSIX path by barneygale · Pull Request #127194 · python/cpython

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

Open Graph Description: When handed an absolute Windows path such as C:\foo or \\server\share, the urllib.request.pathname2url() function returns a URL with an authority section, such as ///C:/foo or //server/share (or be...

X Description: When handed an absolute Windows path such as C:\foo or \\server\share, the urllib.request.pathname2url() function returns a URL with an authority section, such as ///C:/foo or //server/share (or be...

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

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:3600e196-93ed-ff05-6c5d-4c48707598e3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD0F6:10F057:68EF1D:88BFF5:6B024951
html-safe-nonce5a01a50d9e32a33f5c3fb39ebec5d415db1d297c4ad676d01a614ddba7041250
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEY2OjEwRjA1Nzo2OEVGMUQ6ODhCRkY1OjZCMDI0OTUxIiwidmlzaXRvcl9pZCI6IjQ0OTQwNDA5ODE4ODAwNjQzMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac79a614b6461f7046171d10fcedc8ff809965e1e0d90a1594d2ae5f6eef9d6e9f
hovercard-subject-tagpull_request:2196223543
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/127194/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4072fd60858c899b6f12dc6755f7306afe78cc9facb4ca4eea10742572336f8f/python/cpython/pull/127194
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4072fd60858c899b6f12dc6755f7306afe78cc9facb4ca4eea10742572336f8f/python/cpython/pull/127194
og:image:altWhen handed an absolute Windows path such as C:\foo or \\server\share, the urllib.request.pathname2url() function returns a URL with an authority section, such as ///C:/foo or //server/share (or be...
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/127194#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127194
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%2F127194
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/127194
Reloadhttps://github.com/python/cpython/pull/127194
Reloadhttps://github.com/python/cpython/pull/127194
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-126148-authorityhttps://github.com/barneygale/cpython/tree/gh-126148-authority
Conversationhttps://github.com/python/cpython/pull/127194
Commits4 (4)https://github.com/python/cpython/pull/127194/commits
Checkshttps://github.com/python/cpython/pull/127194/checks
Files changedhttps://github.com/python/cpython/pull/127194/files
GH-127236: pathname2url(): generate RFC 1738 URL for absolute POSIX pathhttps://github.com/python/cpython/pull/127194#top
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-126148-authorityhttps://github.com/barneygale/cpython/tree/gh-126148-authority
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 23, 2024https://github.com/python/cpython/pull/127194#issue-2685936504
Please reload this pagehttps://github.com/python/cpython/pull/127194
GH-126205https://github.com/python/cpython/issues/126205
#127125https://github.com/python/cpython/pull/127125
https://cpython-previews--127194.org.readthedocs.build/https://cpython-previews--127194.org.readthedocs.build/
urllib.request.pathname2url(): generate RFC 1738 URLs where possible #127236https://github.com/python/cpython/issues/127236
Please reload this pagehttps://github.com/python/cpython/pull/127194
https://github.com/barneygale
pythonGH-126148https://github.com/python/cpython/pull/126148
:https://github.com/python/cpython/pull/127194/commits/1b2d2e0413cec077acef3fe8adccd6b91a1c550e
pathname2url()https://github.com/python/cpython/pull/127194/commits/1b2d2e0413cec077acef3fe8adccd6b91a1c550e
: add authority section for absolute…https://github.com/python/cpython/pull/127194/commits/1b2d2e0413cec077acef3fe8adccd6b91a1c550e
1b2d2e0https://github.com/python/cpython/pull/127194/commits/1b2d2e0413cec077acef3fe8adccd6b91a1c550e
pythonGH-126205https://github.com/python/cpython/issues/126205
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 23, 2024https://github.com/python/cpython/pull/127194#event-15407668807
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 23, 2024https://github.com/python/cpython/pull/127194#event-15407670596
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 23, 2024 https://github.com/python/cpython/pull/127194#ref-issue-2607065453
Improve file URI ergonomics in urllib.request #125866 https://github.com/python/cpython/issues/125866
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 23, 2024 https://github.com/python/cpython/pull/127194#ref-pullrequest-2678164419
GH-127090: Fix urllib.response.addinfourl.url value for opened file: URIs #127091 https://github.com/python/cpython/pull/127091
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/127194/commits/5e1b65fac48af5c5748dacca04cdbbe1f8cc7d55
pythongh-126148https://github.com/python/cpython/pull/126148
-authorityhttps://github.com/python/cpython/pull/127194/commits/5e1b65fac48af5c5748dacca04cdbbe1f8cc7d55
5e1b65fhttps://github.com/python/cpython/pull/127194/commits/5e1b65fac48af5c5748dacca04cdbbe1f8cc7d55
https://github.com/barneygale
barneygalehttps://github.com/barneygale
November 24, 2024 17:41https://github.com/python/cpython/pull/127194#event-15411112745
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 24, 2024https://github.com/python/cpython/pull/127194#event-15411112852
https://github.com/barneygale
Improve news in light ofhttps://github.com/python/cpython/pull/127194/commits/5396ef26c4b459f22774aa0fe740a7a827f1da98
pythonGH-127217https://github.com/python/cpython/issues/127217
5396ef2https://github.com/python/cpython/pull/127194/commits/5396ef26c4b459f22774aa0fe740a7a827f1da98
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 24, 2024https://github.com/python/cpython/pull/127194#event-15411241465
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 24, 2024 https://github.com/python/cpython/pull/127194#ref-issue-2688206000
urllib.request.pathname2url(): generate RFC 1738 URLs where possible #127236 https://github.com/python/cpython/issues/127236
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 24, 2024https://github.com/python/cpython/pull/127194#event-15411247402
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 24, 2024https://github.com/python/cpython/pull/127194#event-15411247726
https://github.com/barneygale
barneygalehttps://github.com/barneygale
serhiy-storchakahttps://github.com/serhiy-storchaka
November 24, 2024 18:58https://github.com/python/cpython/pull/127194#event-15411251396
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 25, 2024 https://github.com/python/cpython/pull/127194#pullrequestreview-2457936643
View reviewed changes https://github.com/python/cpython/pull/127194/files/5396ef26c4b459f22774aa0fe740a7a827f1da98
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/127194#pullrequestreview-2457936643
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/127194
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
Nov 25, 2024https://github.com/python/cpython/pull/127194#event-15417989424
https://github.com/barneygale
Clarify commenthttps://github.com/python/cpython/pull/127194/commits/5b33c577f175a7dfe33148d789d4580fcf0a89b4
5b33c57https://github.com/python/cpython/pull/127194/commits/5b33c577f175a7dfe33148d789d4580fcf0a89b4
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 25, 2024https://github.com/python/cpython/pull/127194#issuecomment-2498879468
Please reload this pagehttps://github.com/python/cpython/pull/127194
https://github.com/barneygale
barneygalehttps://github.com/barneygale
November 25, 2024 19:39https://github.com/python/cpython/pull/127194#event-15425868358
https://github.com/barneygale
barneygalehttps://github.com/barneygale
5bb059fhttps://github.com/python/cpython/commit/5bb059fe606983814a445e4dcf9e96fd7cb4951a
Nov 25, 2024https://github.com/python/cpython/pull/127194#event-15426071514
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
Nov 25, 2024https://github.com/python/cpython/pull/127194#event-15426072093
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 25, 2024https://github.com/python/cpython/pull/127194#issuecomment-2498973979
5bb059fhttps://github.com/python/cpython/commit/5bb059fe606983814a445e4dcf9e96fd7cb4951a
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/#/builders/1258/builds/3419https://buildbot.python.org/#/builders/1258/builds/3419
5bb059fhttps://github.com/python/cpython/commit/5bb059fe606983814a445e4dcf9e96fd7cb4951a
https://buildbot.python.org/#/builders/1258/builds/3419https://buildbot.python.org/#/builders/1258/builds/3419
Please reload this pagehttps://github.com/python/cpython/pull/127194
ebonnalhttps://github.com/ebonnal
Jan 12, 2025 https://github.com/python/cpython/pull/127194#ref-commit-a94803d
https://github.com/barneygale
https://github.com/ebonnal
pythonGH-127236https://github.com/python/cpython/issues/127236
:https://github.com/ebonnal/cpython/commit/a94803d5db500d937a38dce66d0782cb018cc7a0
pathname2url()https://github.com/ebonnal/cpython/commit/a94803d5db500d937a38dce66d0782cb018cc7a0
: generate RFC 1738 URL for absolute…https://github.com/ebonnal/cpython/commit/a94803d5db500d937a38dce66d0782cb018cc7a0
a94803dhttps://github.com/ebonnal/cpython/commit/a94803d5db500d937a38dce66d0782cb018cc7a0
python#127194https://github.com/python/cpython/pull/127194
pythonGH-126205https://github.com/python/cpython/issues/126205
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jul 19, 2025 https://github.com/python/cpython/pull/127194#ref-pullrequest-3141673157
Adjust path_to_url et al. to produce the same results on Python 3.14+ pypa/pip#13423 https://github.com/pypa/pip/pull/13423
markmentovaihttps://github.com/markmentovai
Oct 21, 2026 https://github.com/python/cpython/pull/127194#ref-commit-2f55359
https://github.com/markmentovai
Fix _url_tools.url_quote for Python ≥ 3.14https://github.com/markmentovai/pyfilesystem2/commit/2f5535974533fb2a3a4b32c9d13e1bb1219d808b
2f55359https://github.com/markmentovai/pyfilesystem2/commit/2f5535974533fb2a3a4b32c9d13e1bb1219d808b
python/cpython#127194https://github.com/python/cpython/pull/127194
https://github.com/markmentovai
markmentovaihttps://github.com/markmentovai
Oct 21, 2026 https://github.com/python/cpython/pull/127194#ref-pullrequest-5966158563
Fix _url_tools.url_quote for Python ≥ 3.14 PyFilesystem/pyfilesystem2#605 https://github.com/PyFilesystem/pyfilesystem2/pull/605
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%2F127194
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/127194/files/5396ef26c4b459f22774aa0fe740a7a827f1da98
Please reload this pagehttps://github.com/python/cpython/pull/127194
Please reload this pagehttps://github.com/python/cpython/pull/127194
https://github.com/barneygale
https://github.com/bedevere-bot
https://github.com/serhiy-storchaka
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.