This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roger.serwy
Recipients kbk, marco, roger.serwy, terry.reedy
Date 2011-12-03.23:00:24
SpamBayes Score 2.6050364e-08
Marked as misclassified No
Message-id <1322953226.35.0.387726026872.issue13506@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-12-03 23:00:26roger.serwysetrecipients: + roger.serwy, terry.reedy, kbk, marco
2011-12-03 23:00:26roger.serwysetmessageid: <1322953226.35.0.387726026872.issue13506@psf.upfronthosting.co.za>
2011-12-03 23:00:25roger.serwylinkissue13506 messages
2011-12-03 23:00:25roger.serwycreate