[Idle-dev] CVS: idle macosx_main.py,1.6,1.7

Tony Lownds tonylownds@users.sourceforge.net
Tue, 31 Dec 2002 08:52:47 -0800


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

Modified Files:
	macosx_main.py 
Log Message:
Keep __main__ namespace clean

Index: macosx_main.py
===================================================================
RCS file: /cvsroot/idlefork/idle/macosx_main.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** macosx_main.py	31 Dec 2002 16:03:23 -0000	1.6
--- macosx_main.py	31 Dec 2002 16:52:44 -0000	1.7
***************
*** 36,40 ****
      # this module will become the namespace used by the interactive
      # interpreter; remove all variables we have defined.
!     del sys, __file__, split, join, isdir
      __import__('run').main()
  else:
--- 36,40 ----
      # this module will become the namespace used by the interactive
      # interpreter; remove all variables we have defined.
!     del sys, __file__, split, join, isdir, idlelib
      __import__('run').main()
  else: