[Idle-dev] CVS: idle PyShell.py,1.76,1.77

Kurt B. Kaiser kbk@users.sourceforge.net
Wed, 09 Jul 2003 21:02:17 -0700


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

Modified Files:
	PyShell.py 
Log Message:
Sync with idlelib:
Python bug 767794
"Break or continue outside loop causes crash"


Index: PyShell.py
===================================================================
RCS file: /cvsroot/idlefork/idle/PyShell.py,v
retrieving revision 1.76
retrieving revision 1.77
diff -C2 -r1.76 -r1.77
*** PyShell.py	10 Jul 2003 03:47:40 -0000	1.76
--- PyShell.py	10 Jul 2003 04:02:14 -0000	1.77
***************
*** 609,612 ****
--- 609,614 ----
              try:
                  msg, (dummy_filename, lineno, offset, line) = value
+                 if not offset:
+                     offset = 0
              except:
                  ok = 0