This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: python cannot import module located on a "VOLUME" directory
Type: behavior Stage:
Components: Library (Lib), Windows Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: apre, paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2017-07-06 09:51 by apre, last changed 2022-04-11 14:58 by admin.

Messages (2)
msg297820 - (view) Author: apre (apre) Date: 2017-07-06 09:51
This issue created on python-docker project https://github.com/docker-library/python/issues/210 indicates that python cannot import a module if it is located on a docker-volume.

yosifkit's comment suggest there is an issue in the UNC resolution with paths starting with `\\?\` 

Thesre is probably a fix to do in Lib\ntpath.py, however I am not sure how to fix that.

Steps to reproduce the issues are here: https://github.com/apre/windows-volume-issue
msg297831 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2017-07-06 14:16
Reading through some of the linked material, it looks like the issue is with how UNC "symlinks" are resolved.
History
Date User Action Args
2022-04-11 14:58:48adminsetgithub: 75048
2017-07-06 14:16:10r.david.murraysetnosy: + r.david.murray
messages: + msg297831
2017-07-06 11:30:50serhiy.storchakasetnosy: + paul.moore, tim.golden, zach.ware, steve.dower
components: + Windows
2017-07-06 09:51:02aprecreate