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.
How does that differ from ? If this is a straight-forward port, no additional issue is needed. Even if there are differences, please attach the patch to the other issue.
Same changes to the code, but starting from a different base. I had assumed since IDLE/PyShell.py was different in Python 2 and 3 that I needed to submit separate issues each with its own patch. I've attached the 3.1 patch to , so you can close . (Though doesn't it still make sense to have separate issues since it my happen that it gets integrated into Python 3 but not Python 2, and then what would the status of the issue be?) -- -- --- Mitchell