gh-129333: fix import error over nfs on Windows by ChrisDenton · Pull Request #129616 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Conversation
On Windows, realpath uses `GetFinalPathNameByHandleW` to resolve paths. This returns paths starting with a `\\?\` prefix, which is usually not what we want. This change attempts to remove the prefix for \\?\UNC\ paths. A similar thing was already done for drive paths such as \\?\C:\.
ChrisDenton
changed the title
gh-12933: fix import error over nfs on Windows
gh-129333: fix import error over nfs on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters