[Python-checkins] python/dist/src/Misc NEWS,1.337.2.4.2.27,1.337.2.4.2.28

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Tue, 11 Jun 2002 20:48:48 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv31925/Misc

Modified Files:
      Tag: release22-maint
	NEWS 
Log Message:
Backport:

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++. :-(


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.27
retrieving revision 1.337.2.4.2.28
diff -C2 -d -r1.337.2.4.2.27 -r1.337.2.4.2.28
*** NEWS	10 Jun 2002 21:40:01 -0000	1.337.2.4.2.27
--- NEWS	12 Jun 2002 03:48:46 -0000	1.337.2.4.2.28
***************
*** 5,8 ****
--- 5,11 ----
  Core and builtins
  
+ - Fixed a bug with a continue inside a try block and a yield in the
+   finally clause.  [SF bug 567538]
+ 
  - Cycles going through the __class__ link of a new-style instance are
    now detected by the garbage collector.