[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 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 rep...@bugs.python.org
http://bugs.python.org/issue5233
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 review - needs patch
versions: +Python 3.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5233
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 rep...@bugs.python.org
http://bugs.python.org/issue5233
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 side-effect of running an editor file.  
There is a separate proposal to specify an individual file's startup condition 
(sys.args + STARTUP file).  For Shell restart, a possible reason might be to 
get rid of the effect of a STARTUP file.  Since ^F6 is rarely used (I think), 
asking whether to include the STARTUP might not be too intrusive.

I think default behaviors should follow Python, though we can add more.  On the 
other hand, Python has startup options not currently available with Idle.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5233
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com