◐ Shell
reader mode source ↗
Skip to content

bpo-37609 - Support "UNC" and "GLOBAL" junctions in ntpath.splitdrive().#31702

Closed
barneygale wants to merge 3 commits into
python:mainfrom
barneygale:bpo-37609-support-unc-device-paths-in-splitdrive
Closed

bpo-37609 - Support "UNC" and "GLOBAL" junctions in ntpath.splitdrive().#31702
barneygale wants to merge 3 commits into
python:mainfrom
barneygale:bpo-37609-support-unc-device-paths-in-splitdrive

Conversation

@barneygale

@barneygale barneygale commented Mar 6, 2022

Copy link
Copy Markdown
Contributor

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. The new implementation splits it as ('', '//server/'). Similarly it splits '//?/UNC/server/' as ('', '//?/UNC/server/').

https://bugs.python.org/issue37609

…e()`.

Co-authored-by: Eryk Sun <eryksun@gmail.com>
@barneygale barneygale marked this pull request as draft March 14, 2022 18:54
@barneygale

Copy link
Copy Markdown
Contributor Author

I'm trying a more targeted approach to avoid backwards compatibility problems. PR here: #91882. Closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants