[issue17639] symlinking .py files creates unexpected sys.path
Charles-François Natali
report at bugs.python.org
Fri Apr 5 15:55:00 CEST 2013
Charles-François Natali added the comment:
> How does the test suite react if you change the order of application to resolve symlinks only after dropping the file name from the path?
Note that this will break things, see e.g.
http://bugs.python.org/issue1387483#msg186063
The only backward compatible way to handle this would be to add both
directories to sys.path, hoping that there's no module with the same
name in both directories.
----------
title: symlinking .py files creates unexpected sys.path[0] -> symlinking .py files creates unexpected sys.path
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17639>
_______________________________________
More information about the Python-bugs-list
mailing list