New submission from Mitchell Model <[email protected]>:
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.
In addition:
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
PYTHONSTARTUP
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.
----------
components: IDLE
files: PyShell-2.7.diff
keywords: patch
messages: 81831
nosy: MLModel
severity: normal
status: open
title: Enhance 2.7 IDLE to exec IDLESTARTUP/PYTHONSTARTUP on restart
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file13058/PyShell-2.7.diff
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5233>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com