[Idle-dev] CVS: idle idle,1.5,1.6

Tony Lownds tonylownds@users.sourceforge.net
Mon, 23 Dec 2002 10:12:43 -0800


Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv7146

Modified Files:
	idle 
Log Message:
Revert to revision 1.3; Mac OS X has a platform specific startup script, macosx_main.py

Index: idle
===================================================================
RCS file: /cvsroot/idlefork/idle/idle,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** idle	21 Dec 2002 21:03:06 -0000	1.5
--- idle	23 Dec 2002 18:12:41 -0000	1.6
***************
*** 1,17 ****
  #! /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()
--- 1,4 ----
  #! /usr/bin/env python
  
! import PyShell
! PyShell.main()