[issue1293] Trailing slash in sys.path cause import failure

Facundo Batista report at bugs.python.org
Thu Nov 1 19:36:41 CET 2007


Facundo Batista added the comment:

Only in win32, in Linux it behaves ok (I put a /tmp/w.py that prints 'w'):

Python 2.5.1 (r251:54863, May  2 2007, 16:56:35) 
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append("/tmp/")
>>> import w
w
>>>

----------
nosy: +facundobatista

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1293>
__________________________________


More information about the Python-bugs-list mailing list