René's URL Explorer Experiment


Title: gh-81790: support "UNC" device paths in `ntpath.splitdrive()` by barneygale · Pull Request #91882 · python/cpython · GitHub

Open Graph Title: gh-81790: support "UNC" device paths in `ntpath.splitdrive()` by barneygale · Pull Request #91882 · python/cpython

X Title: gh-81790: support "UNC" device paths in `ntpath.splitdrive()` by barneygale · Pull Request #91882 · python/cpython

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

Open Graph Description: Adds support in ntpath.splitdrive() for DOS device paths with UNC links (beginning \\?\UNC\). Previous patches for this bug substantially rewrote splitdrive() to improve how other oddities are hand...

X Description: Adds support in ntpath.splitdrive() for DOS device paths with UNC links (beginning \\?\UNC\). Previous patches for this bug substantially rewrote splitdrive() to improve how other oddities are hand...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:0249ae2d-f810-b2ca-8b00-80788b3e4fdd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC382:1F9980:1482C08:1B77469:69699DF9
html-safe-nonce8ae0a4f72d59a121d444a222c56ddb40d0e3887bba5572e72b3a478fe1a077be
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzgyOjFGOTk4MDoxNDgyQzA4OjFCNzc0Njk6Njk2OTlERjkiLCJ2aXNpdG9yX2lkIjoiNjQwNTY4NDE5NjA1ODcwMTMwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac50a636f660594fbf76dfa4f94651de814ca7c0d7defffd02c5fb340ab9fc5470
hovercard-subject-tagpull_request:917473354
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/91882/commits
twitter:imagehttps://opengraph.githubassets.com/b095f8b8430323afd005cdb72d2ee3008394883abde17ae9957c6253941d2745/python/cpython/pull/91882
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b095f8b8430323afd005cdb72d2ee3008394883abde17ae9957c6253941d2745/python/cpython/pull/91882
og:image:altAdds support in ntpath.splitdrive() for DOS device paths with UNC links (beginning \\?\UNC\). Previous patches for this bug substantially rewrote splitdrive() to improve how other oddities are hand...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
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
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/91882/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F91882%2Fcommits
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%2F91882%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/91882/commits
Reloadhttps://github.com/python/cpython/pull/91882/commits
Reloadhttps://github.com/python/cpython/pull/91882/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/91882/commits
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/91882/commits
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
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-81790-splitdrive-improvementshttps://github.com/barneygale/cpython/tree/gh-81790-splitdrive-improvements
Conversationhttps://github.com/python/cpython/pull/91882
Commits16 (16)https://github.com/python/cpython/pull/91882/commits
Checkshttps://github.com/python/cpython/pull/91882/checks
Files changedhttps://github.com/python/cpython/pull/91882/files
gh-81790: support "UNC" device paths in ntpath.splitdrive()https://github.com/python/cpython/pull/91882/commits#top
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-81790-splitdrive-improvementshttps://github.com/barneygale/cpython/tree/gh-81790-splitdrive-improvements
gh-81790: support "UNC" device paths in ntpath.splitdrive()https://github.com/python/cpython/pull/91882/commits/c97bfbf31fd300d50d60d9e0559d499f11120651
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
c97bfbfhttps://github.com/python/cpython/pull/91882/commits/c97bfbf31fd300d50d60d9e0559d499f11120651
https://github.com/python/cpython/tree/c97bfbf31fd300d50d60d9e0559d499f11120651
Add docs, news, tests.https://github.com/python/cpython/pull/91882/commits/2da18baea29bfc9a3d91176666feb5f40d29dbb8
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
2da18bahttps://github.com/python/cpython/pull/91882/commits/2da18baea29bfc9a3d91176666feb5f40d29dbb8
https://github.com/python/cpython/tree/2da18baea29bfc9a3d91176666feb5f40d29dbb8
Add a couple of comments.https://github.com/python/cpython/pull/91882/commits/49f9373ad5f2f69d6d15a00e2595bf54c522cfc6
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
49f9373https://github.com/python/cpython/pull/91882/commits/49f9373ad5f2f69d6d15a00e2595bf54c522cfc6
https://github.com/python/cpython/tree/49f9373ad5f2f69d6d15a00e2595bf54c522cfc6
Improve variable names a littlehttps://github.com/python/cpython/pull/91882/commits/57840d405db2f9965f219929cab9ae79a521734a
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
57840d4https://github.com/python/cpython/pull/91882/commits/57840d405db2f9965f219929cab9ae79a521734a
https://github.com/python/cpython/tree/57840d405db2f9965f219929cab9ae79a521734a
Address review feedbackhttps://github.com/python/cpython/pull/91882/commits/264d79e3429223a637472d96daf2ff572038c842
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
264d79ehttps://github.com/python/cpython/pull/91882/commits/264d79e3429223a637472d96daf2ff572038c842
https://github.com/python/cpython/tree/264d79e3429223a637472d96daf2ff572038c842
Add a few commentshttps://github.com/python/cpython/pull/91882/commits/0652b1256b2af13fe22ccd552534be8756c27013
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
0652b12https://github.com/python/cpython/pull/91882/commits/0652b1256b2af13fe22ccd552534be8756c27013
https://github.com/python/cpython/tree/0652b1256b2af13fe22ccd552534be8756c27013
Fix volume-by-guid path supporthttps://github.com/python/cpython/pull/91882/commits/bcc561cb8dfa234ce99842e653101566a8b024a6
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
bcc561chttps://github.com/python/cpython/pull/91882/commits/bcc561cb8dfa234ce99842e653101566a8b024a6
https://github.com/python/cpython/tree/bcc561cb8dfa234ce99842e653101566a8b024a6
Update Lib/ntpath.pyhttps://github.com/python/cpython/pull/91882/commits/40c1eafec5fe0f003d484ca95ceb91b1277c127f
barneygalehttps://github.com/python/cpython/commits?author=barneygale
eryksunhttps://github.com/python/cpython/commits?author=eryksun
40c1eafhttps://github.com/python/cpython/pull/91882/commits/40c1eafec5fe0f003d484ca95ceb91b1277c127f
https://github.com/python/cpython/tree/40c1eafec5fe0f003d484ca95ceb91b1277c127f
Update Lib/ntpath.pyhttps://github.com/python/cpython/pull/91882/commits/34358c8ae10444caa2a098d0a72079c63dcb894d
barneygalehttps://github.com/python/cpython/commits?author=barneygale
eryksunhttps://github.com/python/cpython/commits?author=eryksun
34358c8https://github.com/python/cpython/pull/91882/commits/34358c8ae10444caa2a098d0a72079c63dcb894d
https://github.com/python/cpython/tree/34358c8ae10444caa2a098d0a72079c63dcb894d
Update Lib/ntpath.pyhttps://github.com/python/cpython/pull/91882/commits/0213a72eade04d30e72141b58a4ce0864d33aaf3
barneygalehttps://github.com/python/cpython/commits?author=barneygale
eryksunhttps://github.com/python/cpython/commits?author=eryksun
0213a72https://github.com/python/cpython/pull/91882/commits/0213a72eade04d30e72141b58a4ce0864d33aaf3
https://github.com/python/cpython/tree/0213a72eade04d30e72141b58a4ce0864d33aaf3
Revise implementation to affect only paths beginning `\\?\UNC\`.https://github.com/python/cpython/pull/91882/commits/a7fa62b5055f122d57f04ffaf5025186b4b85dea
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
a7fa62bhttps://github.com/python/cpython/pull/91882/commits/a7fa62b5055f122d57f04ffaf5025186b4b85dea
https://github.com/python/cpython/tree/a7fa62b5055f122d57f04ffaf5025186b4b85dea
Undo formatting change.https://github.com/python/cpython/pull/91882/commits/992f59d9037ac031e6093e31210a7cf34db217b8
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
992f59dhttps://github.com/python/cpython/pull/91882/commits/992f59d9037ac031e6093e31210a7cf34db217b8
https://github.com/python/cpython/tree/992f59d9037ac031e6093e31210a7cf34db217b8
Re-introduce comment with some interesting findings on extended paths.https://github.com/python/cpython/pull/91882/commits/3f163ffadf155df7bb48a421431fc4c34d08e904
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
3f163ffhttps://github.com/python/cpython/pull/91882/commits/3f163ffadf155df7bb48a421431fc4c34d08e904
https://github.com/python/cpython/tree/3f163ffadf155df7bb48a421431fc4c34d08e904
Fix handling of `\\?\UNC` (no trailing slash)https://github.com/python/cpython/pull/91882/commits/4244684aef0ea83d89a8b854b6b6ecabed550b64
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
4244684https://github.com/python/cpython/pull/91882/commits/4244684aef0ea83d89a8b854b6b6ecabed550b64
https://github.com/python/cpython/tree/4244684aef0ea83d89a8b854b6b6ecabed550b64
Remove extending paths findings comment.https://github.com/python/cpython/pull/91882/commits/471e3b4c3f68f888f8f0534a3062e377460013be
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
471e3b4https://github.com/python/cpython/pull/91882/commits/471e3b4c3f68f888f8f0534a3062e377460013be
https://github.com/python/cpython/tree/471e3b4c3f68f888f8f0534a3062e377460013be
Remove unnecessary testshttps://github.com/python/cpython/pull/91882/commits/8f9ab9a9d232d8c2dbe4d2bc3dc9efc4041ea684
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
8f9ab9ahttps://github.com/python/cpython/pull/91882/commits/8f9ab9a9d232d8c2dbe4d2bc3dc9efc4041ea684
https://github.com/python/cpython/tree/8f9ab9a9d232d8c2dbe4d2bc3dc9efc4041ea684
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.