Roger Serwy <roger.se...@gmail.com> added the comment: I have given this issue some further consideration, and realized that my "+1" recommendation was not correct.
Starting the interactive python interpreter will automatically include [''] in sys.path. A fresh restart of IDLE's shell does NOT include ''. However, running a python script will have sys.path include the absolute path to the script. IDLE's shell does do this in conjunction with ScriptBinding's "Run Module". The new patch preserves the existing correct behavior, but also fixes the issue. ---------- keywords: +patch Added file: http://bugs.python.org/file23846/issue13506.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13506> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com