Message71932
When executing a script from a UNC path, e.g. //myhost/exports/a.py,
r"\\myhost\exports" gets prepended to sys.path. But it doesn't work.
This means that in a.py, "import b" will fail even though b.py is
present in the same directory.
The workaround is to manually prepend a backslass to the UNC path in
sys.path.
Note the related defect: http://bugs.python.org/issue954115
This intdoruces two functions for testing UNC paths, but it appears
that these functions are nowhere used! |
|
Date |
User |
Action |
Args |
2008-08-25 15:00:28 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson |
2008-08-25 15:00:28 | kristjan.jonsson | set | messageid: <1219676428.29.0.220923454973.issue3677@psf.upfronthosting.co.za> |
2008-08-25 15:00:26 | kristjan.jonsson | link | issue3677 messages |
2008-08-25 15:00:24 | kristjan.jonsson | create | |
|