[Idle-dev] CVS: idle PyShell.py,1.44,1.45 macosx_main.py,1.2,1.3

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


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

Modified Files:
	PyShell.py macosx_main.py 
Log Message:
Move boolcheck to PyShell

Index: PyShell.py
===================================================================
RCS file: /cvsroot/idlefork/idle/PyShell.py,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -r1.44 -r1.45
*** PyShell.py	23 Dec 2002 03:31:49 -0000	1.44
--- PyShell.py	23 Dec 2002 18:11:26 -0000	1.45
***************
*** 13,16 ****
--- 13,18 ----
  import exceptions
  
+ import boolcheck
+ 
  import linecache
  from code import InteractiveInterpreter

Index: macosx_main.py
===================================================================
RCS file: /cvsroot/idlefork/idle/macosx_main.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** macosx_main.py	20 Dec 2002 04:26:00 -0000	1.2
--- macosx_main.py	23 Dec 2002 18:11:28 -0000	1.3
***************
*** 28,36 ****
    sys.path.append(idlelib)
  
- # Make sure True, False, bool() builtins exist.
- # - preserves 2.2 compatibility - 2.2.1 includes bool, 2.2 does not.
- # - important for Mac OS X because it ships python 2.2
- import boolcheck
- 
  # see if we are being asked to execute the subprocess code
  if '-p' in sys.argv:
--- 28,31 ----
***************
*** 38,42 ****
      sys.argv.remove('-p')
  
!     # this module will become the namepsace used by the interactive
      # interpreter; remove all variables we have defined.
      del sys, __file__, boolcheck, split, join, isdir
--- 33,37 ----
      sys.argv.remove('-p')
  
!     # this module will become the namespace used by the interactive
      # interpreter; remove all variables we have defined.
      del sys, __file__, boolcheck, split, join, isdir
***************
*** 44,46 ****
  else:
      # Load idlelib/idle.py which starts the application.
!     import idle 
--- 39,41 ----
  else:
      # Load idlelib/idle.py which starts the application.
!     import idle