summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-06-12 03:45:21 (GMT)
committerGuido van Rossum <guido@python.org>2002-06-12 03:45:21 (GMT)
commitc5fe5eb8d2650026ae7ce9195cd0dfc153514d2a (patch)
treea3244f08eeb082ad3c54f572340d426db313a573 /Misc/NEWS
parent969de458aa12e831942637bbcd9994b29dc86252 (diff)
downloadcpython-c5fe5eb8d2650026ae7ce9195cd0dfc153514d2a.zip
cpython-c5fe5eb8d2650026ae7ce9195cd0dfc153514d2a.tar.gz
cpython-c5fe5eb8d2650026ae7ce9195cd0dfc153514d2a.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9c51c1f..aef5a24 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -6,6 +6,9 @@ Type/class unification and new-style classes
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]"
evaluates to [1, 3, 5].