[issue5234] Enhance 3.1 IDLE to exec IDLESTARTUP/PYTHONSTARTUP on restart
report at bugs.python.org
Thu Feb 12 23:35:29 CET 2009
New submission from Mitchell Model <mlm at acm.org>:
The main thing the patch does is:
modify the subprocess restart procedure so that it reloads
whatever file, if any, was loaded when IDLE first started and looked for
IDLESTARTUP then PYTHONSTARTUP environment variables.
a -q option is added for starting IDLE on the command line to
mean "quiet", as with Emacs, e.g., to suppress loading of IDLESTARTUP or
The former effect of -s would now be the default, which is
desirable so double-clicking an IDLE icon to start it will cause the
startup file to run.
-s is changed to take an argument that is an alternate startup
file to use
I am a bit concerned about changing -s to have a different meaning.
Perhaps it's better to leave -s as an option that is simplhy superfluous
and use a different letter for the alternate startup.
title: Enhance 3.1 IDLE to exec IDLESTARTUP/PYTHONSTARTUP on restart
versions: Python 3.1
Added file: http://bugs.python.org/file13059/PyShell-3.1.diff
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list