Nick Coghlan added the comment: Adding Guido & Ned, as my recollection is that some of the weirdness in the sys.path[0] symlink resolution was to placate the test suite on Mac OS X (at least, that was a cause of failures in the initial runpy module implementation until Guido tracked down the discrepancy in symlink resolution between direct script execution and runpy).
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? ---------- nosy: +gvanrossum, ned.deily _______________________________________ 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