| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5fab40b6-4a45-6cb0-21a3-7badc996c43c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A42A:861EA:14B36D8:1BDBDC9:6969B292 |
| html-safe-nonce | 8899f34d39c8c6c5c8b874acdf63a1d765e4a95456c9c5440a097887b8127b24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDJBOjg2MUVBOjE0QjM2RDg6MUJEQkRDOTo2OTY5QjI5MiIsInZpc2l0b3JfaWQiOiIzNjMxODg1NzA1MTY4OTI1MzMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 08e751fbe482f4ddd3c8a28e750846bcb1863cd60b20fb3a6544e82c58d11557 |
| hovercard-subject-tag | pull_request:917473354 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/91882/files |
| twitter:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/91882/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F91882%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%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 |
| Reload | https://github.com/python/cpython/pull/91882/files |
| Reload | https://github.com/python/cpython/pull/91882/files |
| Reload | https://github.com/python/cpython/pull/91882/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/91882/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 page | https://github.com/python/cpython/pull/91882/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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| zooba | https://github.com/zooba |
| python:main | https://github.com/python/cpython/tree/main |
| barneygale:gh-81790-splitdrive-improvements | https://github.com/barneygale/cpython/tree/gh-81790-splitdrive-improvements |
|
Conversation
34
| https://github.com/python/cpython/pull/91882 |
|
Commits
16
| https://github.com/python/cpython/pull/91882/commits |
|
Checks
0
| https://github.com/python/cpython/pull/91882/checks |
|
Files changed
| https://github.com/python/cpython/pull/91882/files |
| Please reload this page | https://github.com/python/cpython/pull/91882/files |
|
gh-81790: support "UNC" device paths in ntpath.splitdrive()
| https://github.com/python/cpython/pull/91882/files#top |
|
Show all changes
16 commits
| https://github.com/python/cpython/pull/91882/files |
|
c97bfbf
gh-81790: support "UNC" device paths in ntpath.splitdrive()
barneygale Apr 24, 2022
| https://github.com/python/cpython/pull/91882/commits/c97bfbf31fd300d50d60d9e0559d499f11120651 |
|
2da18ba
Add docs, news, tests.
barneygale Apr 24, 2022
| https://github.com/python/cpython/pull/91882/commits/2da18baea29bfc9a3d91176666feb5f40d29dbb8 |
|
49f9373
Add a couple of comments.
barneygale Apr 24, 2022
| https://github.com/python/cpython/pull/91882/commits/49f9373ad5f2f69d6d15a00e2595bf54c522cfc6 |
|
57840d4
Improve variable names a little
barneygale Apr 24, 2022
| https://github.com/python/cpython/pull/91882/commits/57840d405db2f9965f219929cab9ae79a521734a |
|
264d79e
Address review feedback
barneygale Apr 25, 2022
| https://github.com/python/cpython/pull/91882/commits/264d79e3429223a637472d96daf2ff572038c842 |
|
0652b12
Add a few comments
barneygale Apr 25, 2022
| https://github.com/python/cpython/pull/91882/commits/0652b1256b2af13fe22ccd552534be8756c27013 |
|
bcc561c
Fix volume-by-guid path support
barneygale Apr 26, 2022
| https://github.com/python/cpython/pull/91882/commits/bcc561cb8dfa234ce99842e653101566a8b024a6 |
|
40c1eaf
Update Lib/ntpath.py
barneygale Apr 26, 2022
| https://github.com/python/cpython/pull/91882/commits/40c1eafec5fe0f003d484ca95ceb91b1277c127f |
|
34358c8
Update Lib/ntpath.py
barneygale Apr 26, 2022
| https://github.com/python/cpython/pull/91882/commits/34358c8ae10444caa2a098d0a72079c63dcb894d |
|
0213a72
Update Lib/ntpath.py
barneygale Apr 26, 2022
| https://github.com/python/cpython/pull/91882/commits/0213a72eade04d30e72141b58a4ce0864d33aaf3 |
|
a7fa62b
Revise implementation to affect only paths beginning `\\?\UNC\`.
barneygale May 28, 2022
| https://github.com/python/cpython/pull/91882/commits/a7fa62b5055f122d57f04ffaf5025186b4b85dea |
|
992f59d
Undo formatting change.
barneygale May 28, 2022
| https://github.com/python/cpython/pull/91882/commits/992f59d9037ac031e6093e31210a7cf34db217b8 |
|
3f163ff
Re-introduce comment with some interesting findings on extended paths.
barneygale May 28, 2022
| https://github.com/python/cpython/pull/91882/commits/3f163ffadf155df7bb48a421431fc4c34d08e904 |
|
4244684
Fix handling of `\\?\UNC` (no trailing slash)
barneygale May 31, 2022
| https://github.com/python/cpython/pull/91882/commits/4244684aef0ea83d89a8b854b6b6ecabed550b64 |
|
471e3b4
Remove extending paths findings comment.
barneygale May 31, 2022
| https://github.com/python/cpython/pull/91882/commits/471e3b4c3f68f888f8f0534a3062e377460013be |
|
8f9ab9a
Remove unnecessary tests
barneygale Jun 9, 2022
| https://github.com/python/cpython/pull/91882/commits/8f9ab9a9d232d8c2dbe4d2bc3dc9efc4041ea684 |
|
Clear filters
| https://github.com/python/cpython/pull/91882/files |
| Please reload this page | https://github.com/python/cpython/pull/91882/files |
| Please reload this page | https://github.com/python/cpython/pull/91882/files |
|
os.path.rst
| https://github.com/python/cpython/pull/91882/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783 |
|
ntpath.py
| https://github.com/python/cpython/pull/91882/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065 |
|
pathlib.py
| https://github.com/python/cpython/pull/91882/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
|
test_ntpath.py
| https://github.com/python/cpython/pull/91882/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea |
|
2022-04-24-22-26-45.gh-issue-81790.M5Rvpm.rst
| https://github.com/python/cpython/pull/91882/files#diff-11d4733ea6d3e50224760a91f8e78ec82de40ee90fadaacb5107c1a2ab73fe76 |
| Doc/library/os.path.rst | https://github.com/python/cpython/pull/91882/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783 |
|
View file
| https://github.com/barneygale/cpython/blob/8f9ab9a9d232d8c2dbe4d2bc3dc9efc4041ea684/Doc/library/os.path.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/91882/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/91882/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783 |
|
| https://github.com/python/cpython/pull/91882/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783 |
| Lib/ntpath.py | https://github.com/python/cpython/pull/91882/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065 |
|
View file
| https://github.com/barneygale/cpython/blob/8f9ab9a9d232d8c2dbe4d2bc3dc9efc4041ea684/Lib/ntpath.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/91882/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/91882/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065 |
|
| https://github.com/python/cpython/pull/91882/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065 |
| Lib/pathlib.py | https://github.com/python/cpython/pull/91882/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
|
View file
| https://github.com/barneygale/cpython/blob/8f9ab9a9d232d8c2dbe4d2bc3dc9efc4041ea684/Lib/pathlib.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/91882/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/91882/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
| Please reload this page | https://github.com/python/cpython/pull/91882/files |
|
| https://github.com/python/cpython/pull/91882/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
|
| https://github.com/python/cpython/pull/91882/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
| Lib/test/test_ntpath.py | https://github.com/python/cpython/pull/91882/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea |
|
View file
| https://github.com/barneygale/cpython/blob/8f9ab9a9d232d8c2dbe4d2bc3dc9efc4041ea684/Lib/test/test_ntpath.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/91882/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/91882/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea |
|
| https://github.com/python/cpython/pull/91882/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea |
| Misc/NEWS.d/next/Library/2022-04-24-22-26-45.gh-issue-81790.M5Rvpm.rst | https://github.com/python/cpython/pull/91882/files#diff-11d4733ea6d3e50224760a91f8e78ec82de40ee90fadaacb5107c1a2ab73fe76 |
|
View file
| https://github.com/barneygale/cpython/blob/8f9ab9a9d232d8c2dbe4d2bc3dc9efc4041ea684/Misc/NEWS.d/next/Library/2022-04-24-22-26-45.gh-issue-81790.M5Rvpm.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/91882/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |