homepage

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.

Author kristjan.jonsson
Recipients kristjan.jonsson
Date 2008年08月25日.15:00:24
SpamBayes Score 0.025294345
Marked as misclassified No
Message-id <1219676428.29.0.220923454973.issue3677@psf.upfronthosting.co.za>
In-reply-to
Content
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!
History
Date User Action Args
2008年08月25日 15:00:28kristjan.jonssonsetrecipients: + kristjan.jonsson
2008年08月25日 15:00:28kristjan.jonssonsetmessageid: <1219676428.29.0.220923454973.issue3677@psf.upfronthosting.co.za>
2008年08月25日 15:00:26kristjan.jonssonlinkissue3677 messages
2008年08月25日 15:00:24kristjan.jonssoncreate

AltStyle によって変換されたページ (->オリジナル) /