[Python-checkins] python/dist/src/Misc NEWS,1.423,1.424
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Tue, 11 Jun 2002 20:45:23 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv31088/Misc
Modified Files:
NEWS
Log Message:
SF bug 567538: Generator can crash the interpreter (Finn Bock).
This was a simple typo. Strange that the compiler didn't catch it!
Instead of WHY_CONTINUE, two tests used CONTINUE_LOOP, which isn't a
why_code at all, but an opcode; but even though 'why' is declared as
an enum, comparing it to an int is apparently not even worth a
warning -- not in gcc, and not in VC++. :-(
Will fix in 2.2 too.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.423
retrieving revision 1.424
diff -C2 -d -r1.423 -r1.424
*** NEWS 11 Jun 2002 10:55:10 -0000 1.423
--- NEWS 12 Jun 2002 03:45:21 -0000 1.424
***************
*** 7,10 ****
--- 7,13 ----
Core and builtins
+ - Fixed a bug with a continue inside a try block and a yield in the
+ finally clause. [SF bug 567538]
+
- Most builtin sequences now support "extended slices", i.e. slices
with a third "stride" parameter. For example, "range(10)[1:6:2]"