[Python-checkins] python/dist/src/Lib/idlelib PyShell.py,1.78,1.79

kbk@users.sourceforge.net kbk@users.sourceforge.net
2003年7月08日 21:27:26 -0700


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1:/tmp/cvs-serv23208
Modified Files:
	PyShell.py 
Log Message:
SF Bug 767794
"Break or continue outside loop causes crash"
Index: PyShell.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/PyShell.py,v
retrieving revision 1.78
retrieving revision 1.79
diff -C2 -d -r1.78 -r1.79
*** PyShell.py	22 Jun 2003 07:52:56 -0000	1.78
--- PyShell.py	9 Jul 2003 04:27:24 -0000	1.79
***************
*** 606,609 ****
--- 606,611 ----
 try:
 msg, (dummy_filename, lineno, offset, line) = value
+ if not offset:
+ offset = 0
 except:
 ok = 0

AltStyle によって変換されたページ (->オリジナル) /