[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

Terry J. Reedy report at bugs.python.org
Wed Jul 29 22:40:29 CEST 2015


Terry J. Reedy added the comment:

Re my comment about handling Shell restarts differently for Shell restart cntlF6 and Run module F5: Python only runs "PYTHONSTARTUP" for interactive move.  From the manual: "If this is the name of a readable file, the Python commands in that file are executed before the first prompt is displayed in interactive mode."  When -s is passed, Idle opens Shell for sure and executes the file there.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5233>
_______________________________________


More information about the Python-bugs-list mailing list