New submission from Kristján Valur Jónsson <[EMAIL PROTECTED]>: 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! ---------- components: Interpreter Core messages: 71932 nosy: krisvale priority: normal severity: normal status: open title: importing from UNC roots doesn't work type: behavior versions: Python 2.5 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3677> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com