[issue1074015] current directory in sys.path handles symlinks badly

Brett Cannon report at bugs.python.org
Tue Mar 31 00:18:53 CEST 2009


Brett Cannon <brett at python.org> added the comment:

So the joe directory is put on sys.path instead of lib because joe.py
resolves to joe/joe.py. I think that is correct semantics as you may
symlink that file into your bin directory but the original file has
dependencies in that location. Plus changing it now would break scripts
depending on the current semantics.

Closing as won't fix.

----------
resolution:  -> wont fix
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1074015>
_______________________________________


More information about the Python-bugs-list mailing list