[Idle-dev] CVS: idle idle,1.7,1.8 idle.py,1.5,1.6 idle.pyw,1.4,1.5

Kurt B. Kaiser kbk@users.sourceforge.net
Tue, 31 Dec 2002 15:18:03 -0800


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

Modified Files:
	idle idle.py idle.pyw 
Log Message:
Improve exception handling.


Index: idle
===================================================================
RCS file: /cvsroot/idlefork/idle/idle,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** idle	24 Dec 2002 06:36:19 -0000	1.7
--- idle	31 Dec 2002 23:18:00 -0000	1.8
***************
*** 1,8 ****
! #! /usr/bin/env python
  
  try:
      import idlelib.PyShell
      idlelib.PyShell.main()
! except:
      # IDLE is not installed, but maybe PyShell is on sys.path:
      import PyShell
--- 1,8 ----
! #!/usr/bin/python
  
  try:
      import idlelib.PyShell
      idlelib.PyShell.main()
! except ImportError:
      # IDLE is not installed, but maybe PyShell is on sys.path:
      import PyShell

Index: idle.py
===================================================================
RCS file: /cvsroot/idlefork/idle/idle.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** idle.py	24 Dec 2002 06:36:19 -0000	1.5
--- idle.py	31 Dec 2002 23:18:00 -0000	1.6
***************
*** 1,8 ****
! #! /usr/bin/env python
  
  try:
      import idlelib.PyShell
      idlelib.PyShell.main()
! except:
      # IDLE is not installed, but maybe PyShell is on sys.path:
      import PyShell
--- 1,8 ----
! #!/usr/bin/python
  
  try:
      import idlelib.PyShell
      idlelib.PyShell.main()
! except ImportError:
      # IDLE is not installed, but maybe PyShell is on sys.path:
      import PyShell

Index: idle.pyw
===================================================================
RCS file: /cvsroot/idlefork/idle/idle.pyw,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** idle.pyw	24 Dec 2002 06:36:19 -0000	1.4
--- idle.pyw	31 Dec 2002 23:18:00 -0000	1.5
***************
*** 1,8 ****
! #! /usr/bin/env python
  
  try:
      import idlelib.PyShell
      idlelib.PyShell.main()
! except:
      # IDLE is not installed, but maybe PyShell is on sys.path:
      import PyShell
--- 1,8 ----
! #!/usr/bin/python
  
  try:
      import idlelib.PyShell
      idlelib.PyShell.main()
! except ImportError:
      # IDLE is not installed, but maybe PyShell is on sys.path:
      import PyShell