| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:63a1a434-9d50-b3a7-7b99-29d1c25fdc7d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CB92:10503:209862B:2A7D517:696B47B8 |
| html-safe-nonce | 76fe397d101a7a3284c06769e8e15b221633197c4b76a94951aadc0fcb1cd724 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjkyOjEwNTAzOjIwOTg2MkI6MkE3RDUxNzo2OTZCNDdCOCIsInZpc2l0b3JfaWQiOiI2NTYxMjI1Mjk4NTE3MTE2ODU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e92b369a13d1a2201dddafe8234163b6d2765a2ccc841f2af77f424b31379af4 |
| hovercard-subject-tag | pull_request:872402039 |
| 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/31702/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 | Implementation by @eryksun. They note:
The old implementation would split "//server/" as ('//server/', ''). Since there's no share, this should not count as a drive. ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/31702/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31702%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%2F31702%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/31702/files |
| Reload | https://github.com/python/cpython/pull/31702/files |
| Reload | https://github.com/python/cpython/pull/31702/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/31702/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/31702/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 |
| barneygale | https://github.com/barneygale |
| python:main | https://github.com/python/cpython/tree/main |
| barneygale:bpo-37609-support-unc-device-paths-in-splitdrive | https://github.com/barneygale/cpython/tree/bpo-37609-support-unc-device-paths-in-splitdrive |
|
Conversation
8
| https://github.com/python/cpython/pull/31702 |
|
Commits
3
| https://github.com/python/cpython/pull/31702/commits |
|
Checks
0
| https://github.com/python/cpython/pull/31702/checks |
|
Files changed
| https://github.com/python/cpython/pull/31702/files |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
|
bpo-37609 - Support "UNC" and "GLOBAL" junctions in ntpath.splitdrive().
| https://github.com/python/cpython/pull/31702/files#top |
|
Show all changes
3 commits
| https://github.com/python/cpython/pull/31702/files |
|
9344c66
bpo-37609 - Support "UNC" and "GLOBAL" junctions in `ntpath.splitdriv…
barneygale Mar 6, 2022
| https://github.com/python/cpython/pull/31702/commits/9344c664251bd761ee12532a318992b121d9c166 |
|
56b6f04
Fix tests; remove requirement that drive letter is alphabetic.
barneygale Mar 6, 2022
| https://github.com/python/cpython/pull/31702/commits/56b6f043a900746427c18dff82cfb20dd36135e5 |
|
c173d45
Fix tests (attempt 2!)
barneygale Mar 6, 2022
| https://github.com/python/cpython/pull/31702/commits/c173d45cf48cf763b4b4b77d1c0233cd9026a321 |
|
Clear filters
| https://github.com/python/cpython/pull/31702/files |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
|
os.path.rst
| https://github.com/python/cpython/pull/31702/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783 |
|
ntpath.py
| https://github.com/python/cpython/pull/31702/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065 |
|
test_ntpath.py
| https://github.com/python/cpython/pull/31702/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea |
|
test_zipfile.py
| https://github.com/python/cpython/pull/31702/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
|
2022-03-06-07-03-02.bpo-37609.BkLg4n.rst
| https://github.com/python/cpython/pull/31702/files#diff-06a02b6c734100e01fdaf5cffbfe89b9df004914c4d9219a45d26930759569be |
| Doc/library/os.path.rst | https://github.com/python/cpython/pull/31702/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783 |
|
View file
| https://github.com/barneygale/cpython/blob/c173d45cf48cf763b4b4b77d1c0233cd9026a321/Doc/library/os.path.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31702/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31702/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783 |
|
| https://github.com/python/cpython/pull/31702/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783 |
| Lib/ntpath.py | https://github.com/python/cpython/pull/31702/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065 |
|
View file
| https://github.com/barneygale/cpython/blob/c173d45cf48cf763b4b4b77d1c0233cd9026a321/Lib/ntpath.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31702/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31702/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065 |
| eryksun | https://github.com/eryksun |
| Mar 6, 2022 | https://github.com/python/cpython/pull/31702/files#r820247712 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
| eryksun | https://github.com/eryksun |
| Mar 6, 2022 | https://github.com/python/cpython/pull/31702/files#r820248074 |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
| eryksun | https://github.com/eryksun |
| Mar 6, 2022 | https://github.com/python/cpython/pull/31702/files#r820248141 |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
| eryksun | https://github.com/eryksun |
| Mar 6, 2022 | https://github.com/python/cpython/pull/31702/files#r820248204 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
| eryksun | https://github.com/eryksun |
| Mar 6, 2022 | https://github.com/python/cpython/pull/31702/files#r820278567 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
| eryksun | https://github.com/eryksun |
| Mar 6, 2022 | https://github.com/python/cpython/pull/31702/files#r820282003 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| DefineDosDeviceW() | https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-definedosdevicew |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
| eryksun | https://github.com/eryksun |
| Mar 7, 2022 | https://github.com/python/cpython/pull/31702/files#r820916060 |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/31702/files |
|
| https://github.com/python/cpython/pull/31702/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065 |
| Lib/test/test_ntpath.py | https://github.com/python/cpython/pull/31702/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea |
|
View file
| https://github.com/barneygale/cpython/blob/c173d45cf48cf763b4b4b77d1c0233cd9026a321/Lib/test/test_ntpath.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31702/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31702/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea |
|
| https://github.com/python/cpython/pull/31702/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea |
| Lib/test/test_zipfile.py | https://github.com/python/cpython/pull/31702/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
|
View file
| https://github.com/barneygale/cpython/blob/c173d45cf48cf763b4b4b77d1c0233cd9026a321/Lib/test/test_zipfile.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31702/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31702/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
|
| https://github.com/python/cpython/pull/31702/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
| Misc/NEWS.d/next/Library/2022-03-06-07-03-02.bpo-37609.BkLg4n.rst | https://github.com/python/cpython/pull/31702/files#diff-06a02b6c734100e01fdaf5cffbfe89b9df004914c4d9219a45d26930759569be |
|
View file
| https://github.com/barneygale/cpython/blob/c173d45cf48cf763b4b4b77d1c0233cd9026a321/Misc/NEWS.d/next/Library/2022-03-06-07-03-02.bpo-37609.BkLg4n.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31702/{{ 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 |