From: Tony Lownds Date: Mon, 23 Dec 2002 18:12:41 +0000 (+0000) Subject: Revert to revision 1.3; Mac OS X has a platform specific startup script, macosx_main.py X-Git-Tag: v2.3c1~2911 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0bfd0f4aa123b9c71d02f446c56d71715e8ba3e;p=python Revert to revision 1.3; Mac OS X has a platform specific startup script, macosx_main.py --- diff --git a/Lib/idlelib/idle b/Lib/idlelib/idle index 08af399b2c..8638a165b4 100755 --- a/Lib/idlelib/idle +++ b/Lib/idlelib/idle @@ -1,17 +1,4 @@ #! /usr/bin/env python -import sys as _sys - -# See if we are being asked to execute the subprocess code -if '-p' in _sys.argv: - # run expects only the port number in _sys.argv - _sys.argv.remove('-p') - - # this module will become the namepsace used by the interactive - # interpreter; remove all variables we have defined. - del _sys - __import__('run').main() -else: - # Start the IDLE GUI - import PyShell - PyShell.main() +import PyShell +PyShell.main()