[Idle-dev] CVS: idle idle,1.10,1.11 idle.py,1.8,1.9 idle.pyw,1.7,1.8
Kurt B. Kaiser
kbk@users.sourceforge.net
Sun, 18 May 2003 19:07:47 -0700
Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv17358
Modified Files:
idle idle.py idle.pyw
Log Message:
Let Python inform the user what went wrong with the import.
Modified Files:
idle idle.py idle.pyw
Index: idle
===================================================================
RCS file: /cvsroot/idlefork/idle/idle,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** idle 17 May 2003 03:15:48 -0000 1.10
--- idle 19 May 2003 02:07:44 -0000 1.11
***************
*** 8,12 ****
import PyShell
except ImportError:
! print "Can't locate PyShell.py"
else:
import os
--- 8,12 ----
import PyShell
except ImportError:
! raise
else:
import os
Index: idle.py
===================================================================
RCS file: /cvsroot/idlefork/idle/idle.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** idle.py 17 May 2003 03:15:48 -0000 1.8
--- idle.py 19 May 2003 02:07:44 -0000 1.9
***************
*** 8,12 ****
import PyShell
except ImportError:
! print "Can't locate PyShell.py"
else:
import os
--- 8,12 ----
import PyShell
except ImportError:
! raise
else:
import os
Index: idle.pyw
===================================================================
RCS file: /cvsroot/idlefork/idle/idle.pyw,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** idle.pyw 17 May 2003 03:15:48 -0000 1.7
--- idle.pyw 19 May 2003 02:07:44 -0000 1.8
***************
*** 6,10 ****
import PyShell
except ImportError:
! print "Can't locate PyShell.py"
else:
import os
--- 6,10 ----
import PyShell
except ImportError:
! raise
else:
import os