[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2020-01-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2015-07-29 Thread Terry J. Reedy
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

[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: A new patch is needed to optionally rerun startup stuff (including future imports, see #22893) with ^F6 restarts. I think a combined patch might better be attached to the other issue, where I did some analysis on the changes needed. -- stage: patch

[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I guess the point of automatically reading is that python does also, at least for PYTHONSTARTUP. I don't know Idle is different. However, the main point of this issue is about restarts. -- ___ Python tracker

[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2015-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Related issue #22893 is about __future__ statements in startup code having effect on future interactive input in the same way as it does with Python itself. I think a pure Shell start/restart (cntl-F6) should be handled separately from a restart that is a

[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2014-10-02 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- title: Enhance 2.7 IDLE to exec IDLESTARTUP/PYTHONSTARTUP on restart - IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5233