Message148825
| 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:26 | roger.serwy | set | recipients:
+ roger.serwy, terry.reedy, kbk, marco |
| 2011年12月03日 23:00:26 | roger.serwy | set | messageid: <1322953226.35.0.387726026872.issue13506@psf.upfronthosting.co.za> |
| 2011年12月03日 23:00:25 | roger.serwy | link | issue13506 messages |
| 2011年12月03日 23:00:25 | roger.serwy | create |
|