René's URL Explorer Experiment


Title: GH-125866: RFC8089 file URIs in `urllib.request` by barneygale · Pull Request #126148 · python/cpython · GitHub

Open Graph Title: GH-125866: RFC8089 file URIs in `urllib.request` by barneygale · Pull Request #126148 · python/cpython

X Title: GH-125866: RFC8089 file URIs in `urllib.request` by barneygale · Pull Request #126148 · python/cpython

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

Open Graph Description: Adjust urllib.request.pathname2url() and url2pathname() to generate and accept file URIs as described in RFC8089. pathname2url() gains a new include_scheme argument, which defaults to false. When s...

X Description: Adjust urllib.request.pathname2url() and url2pathname() to generate and accept file URIs as described in RFC8089. pathname2url() gains a new include_scheme argument, which defaults to false. When s...

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

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:84c223bc-6c54-f977-541d-26bc52978472
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9E20:F8C5C:EAE11A:12779BA:6B022C60
html-safe-nonce6aec00beb5aa425643263865d4e95e04210c5cbda5e1c0c1b2d2c2d7075c640a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTIwOkY4QzVDOkVBRTExQToxMjc3OUJBOjZCMDIyQzYwIiwidmlzaXRvcl9pZCI6IjU4OTAxMTM3MzYzMDMzMjQyNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb2d7570b9e31cbbe444760a0b7498fcb9979da517030d2cfa5a7e16a323717a9
hovercard-subject-tagpull_request:2152551069
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/126148/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c335cfb41eb8accdd4824baa996906d01c77308f949c56d1e89ed509d6f93281/python/cpython/pull/126148
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c335cfb41eb8accdd4824baa996906d01c77308f949c56d1e89ed509d6f93281/python/cpython/pull/126148
og:image:altAdjust urllib.request.pathname2url() and url2pathname() to generate and accept file URIs as described in RFC8089. pathname2url() gains a new include_scheme argument, which defaults to false. When s...
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/126148#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126148
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%2F126148
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/126148
Reloadhttps://github.com/python/cpython/pull/126148
Reloadhttps://github.com/python/cpython/pull/126148
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-125866https://github.com/barneygale/cpython/tree/gh-125866
Conversationhttps://github.com/python/cpython/pull/126148
Commits12 (12)https://github.com/python/cpython/pull/126148/commits
Checkshttps://github.com/python/cpython/pull/126148/checks
Files changedhttps://github.com/python/cpython/pull/126148/files
GH-125866: RFC8089 file URIs in urllib.requesthttps://github.com/python/cpython/pull/126148#top
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-125866https://github.com/barneygale/cpython/tree/gh-125866
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Oct 29, 2024https://github.com/python/cpython/pull/126148#issue-2622424759
Please reload this pagehttps://github.com/python/cpython/pull/126148
Improve file URI ergonomics in urllib.request #125866https://github.com/python/cpython/issues/125866
https://cpython-previews--126148.org.readthedocs.build/https://cpython-previews--126148.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/126148
https://github.com/barneygale
pythonGH-125866https://github.com/python/cpython/issues/125866
: RFC8089 file URIs inhttps://github.com/python/cpython/pull/126148/commits/fb92f4208df1dc2f7bf3d1a9a11f7057f5e54e74
urllib.requesthttps://github.com/python/cpython/pull/126148/commits/fb92f4208df1dc2f7bf3d1a9a11f7057f5e54e74
fb92f42https://github.com/python/cpython/pull/126148/commits/fb92f4208df1dc2f7bf3d1a9a11f7057f5e54e74
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 29, 2024 https://github.com/python/cpython/pull/126148#ref-issue-2607065453
Improve file URI ergonomics in urllib.request #125866 https://github.com/python/cpython/issues/125866
barneygalehttps://github.com/barneygale
October 29, 2024 22:30https://github.com/python/cpython/pull/126148#commits-pushed-8086522
https://github.com/barneygale
Windows testhttps://github.com/python/cpython/pull/126148/commits/8086522ff6f06f091820d5c45c4e50bee994fd0f
fixeshttps://github.com/python/cpython/pull/126148/commits/8086522ff6f06f091820d5c45c4e50bee994fd0f
python#1https://github.com/python/cpython/pull/1
8086522https://github.com/python/cpython/pull/126148/commits/8086522ff6f06f091820d5c45c4e50bee994fd0f
https://github.com/barneygale
Windows testhttps://github.com/python/cpython/pull/126148/commits/653b9ae485d46149911ee188848a10d0d3b47a69
fixeshttps://github.com/python/cpython/pull/126148/commits/653b9ae485d46149911ee188848a10d0d3b47a69
python#2https://github.com/python/cpython/pull/2
653b9aehttps://github.com/python/cpython/pull/126148/commits/653b9ae485d46149911ee188848a10d0d3b47a69
https://github.com/barneygale
Windows testhttps://github.com/python/cpython/pull/126148/commits/73c8bcf08ec578d8aa3a96aedcacb2d29d8f1a36
fixeshttps://github.com/python/cpython/pull/126148/commits/73c8bcf08ec578d8aa3a96aedcacb2d29d8f1a36
python#3https://github.com/python/cpython/pull/3
, also fix docs linthttps://github.com/python/cpython/pull/126148/commits/73c8bcf08ec578d8aa3a96aedcacb2d29d8f1a36
73c8bcfhttps://github.com/python/cpython/pull/126148/commits/73c8bcf08ec578d8aa3a96aedcacb2d29d8f1a36
https://github.com/barneygale
Windows testhttps://github.com/python/cpython/pull/126148/commits/d4befde7c5185fd6e974b883df63c02bf372df38
fixeshttps://github.com/python/cpython/pull/126148/commits/d4befde7c5185fd6e974b883df63c02bf372df38
python#4https://github.com/python/cpython/pull/4
d4befdehttps://github.com/python/cpython/pull/126148/commits/d4befde7c5185fd6e974b883df63c02bf372df38
https://github.com/barneygale
Windows testhttps://github.com/python/cpython/pull/126148/commits/1ff26c0ca289f48119b07f58876303686dddac61
fixeshttps://github.com/python/cpython/pull/126148/commits/1ff26c0ca289f48119b07f58876303686dddac61
python#5https://github.com/python/cpython/pull/5
1ff26c0https://github.com/python/cpython/pull/126148/commits/1ff26c0ca289f48119b07f58876303686dddac61
https://github.com/barneygale
Windows testhttps://github.com/python/cpython/pull/126148/commits/26db297e1a0b9ead5036fd85a056e7e96c29ba0e
fixeshttps://github.com/python/cpython/pull/126148/commits/26db297e1a0b9ead5036fd85a056e7e96c29ba0e
python#6https://github.com/python/cpython/pull/6
26db297https://github.com/python/cpython/pull/126148/commits/26db297e1a0b9ead5036fd85a056e7e96c29ba0e
https://github.com/barneygale
Windows testhttps://github.com/python/cpython/pull/126148/commits/7584b6538e89831dace0f5e21ce732dab9c9df15
fixeshttps://github.com/python/cpython/pull/126148/commits/7584b6538e89831dace0f5e21ce732dab9c9df15
python#7https://github.com/python/cpython/pull/7
, also fix missing docs refhttps://github.com/python/cpython/pull/126148/commits/7584b6538e89831dace0f5e21ce732dab9c9df15
7584b65https://github.com/python/cpython/pull/126148/commits/7584b6538e89831dace0f5e21ce732dab9c9df15
https://github.com/barneygale
Add NEWS blurb.https://github.com/python/cpython/pull/126148/commits/a70584c2ba5bb07c45fe33d5fbf01cf41a8dd3c0
a70584chttps://github.com/python/cpython/pull/126148/commits/a70584c2ba5bb07c45fe33d5fbf01cf41a8dd3c0
https://github.com/barneygale
Commentshttps://github.com/python/cpython/pull/126148/commits/985ef04710f7d251934b7ae95b887986aafa7d11
985ef04https://github.com/python/cpython/pull/126148/commits/985ef04710f7d251934b7ae95b887986aafa7d11
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Oct 30, 2024https://github.com/python/cpython/pull/126148#issuecomment-2445635485
#125739https://github.com/python/cpython/pull/125739
Please reload this pagehttps://github.com/python/cpython/pull/126148
urllib.request.urlopen doesn't handle UNC paths produced by pathlib's as_uri() (but can handle UNC paths with additional slashes) #90812 https://github.com/python/cpython/issues/90812
nturl2path.pathname2url() doesn't handle forward slashes #120423 https://github.com/python/cpython/issues/120423
barneygalehttps://github.com/barneygale
October 30, 2024 19:46https://github.com/python/cpython/pull/126148#commits-pushed-4b99bfc
https://github.com/barneygale
Improve handling of special UNC prefixeshttps://github.com/python/cpython/pull/126148/commits/4b99bfc522f88deecb9d35f56764d58872375a8c
4b99bfchttps://github.com/python/cpython/pull/126148/commits/4b99bfc522f88deecb9d35f56764d58872375a8c
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/126148/commits/5c5a0b54d076e6a913acc4c1dc97f7984b1a5f29
pythongh-125866https://github.com/python/cpython/issues/125866
5c5a0b5https://github.com/python/cpython/pull/126148/commits/5c5a0b54d076e6a913acc4c1dc97f7984b1a5f29
barneygalehttps://github.com/barneygale
Nov 23, 2024 https://github.com/python/cpython/pull/126148#ref-commit-1b2d2e0
https://github.com/barneygale
pythonGH-126148https://github.com/python/cpython/pull/126148
:https://github.com/barneygale/cpython/commit/1b2d2e0413cec077acef3fe8adccd6b91a1c550e
pathname2url()https://github.com/barneygale/cpython/commit/1b2d2e0413cec077acef3fe8adccd6b91a1c550e
: add authority section for absolute…https://github.com/barneygale/cpython/commit/1b2d2e0413cec077acef3fe8adccd6b91a1c550e
1b2d2e0https://github.com/barneygale/cpython/commit/1b2d2e0413cec077acef3fe8adccd6b91a1c550e
pythonGH-126205https://github.com/python/cpython/issues/126205
barneygalehttps://github.com/barneygale
Nov 24, 2024 https://github.com/python/cpython/pull/126148#ref-commit-5e1b65f
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/barneygale/cpython/commit/5e1b65fac48af5c5748dacca04cdbbe1f8cc7d55
pythongh-126148https://github.com/python/cpython/pull/126148
-authorityhttps://github.com/barneygale/cpython/commit/5e1b65fac48af5c5748dacca04cdbbe1f8cc7d55
5e1b65fhttps://github.com/barneygale/cpython/commit/5e1b65fac48af5c5748dacca04cdbbe1f8cc7d55
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 24, 2024https://github.com/python/cpython/pull/126148#event-15411256003
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 23, 2025https://github.com/python/cpython/pull/126148#issuecomment-2746189682
#126844https://github.com/python/cpython/pull/126844
Please reload this pagehttps://github.com/python/cpython/pull/126148
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%2F126148
https://github.com/orsenthil
orsenthil https://github.com/orsenthil
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
Please reload this pagehttps://github.com/python/cpython/pull/126148
Please reload this pagehttps://github.com/python/cpython/pull/126148
https://github.com/barneygale
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.