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 <rep...@bugs.python.org> <http://bugs.python.org/issue17639> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com