summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-09-11 21:02:28 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-09-11 21:02:28 (GMT)
commit4c20bc40d73a7f4a977475e4fa02f7c8a43d796a (patch)
treebda917217f80707f88ab8514b5c0e383fd677b40 /Misc
parent0b7120258a4df671291e39d3eb95a71a9dc4c186 (diff)
downloadcpython-4c20bc40d73a7f4a977475e4fa02f7c8a43d796a.zip
cpython-4c20bc40d73a7f4a977475e4fa02f7c8a43d796a.tar.gz
cpython-4c20bc40d73a7f4a977475e4fa02f7c8a43d796a.tar.bz2
Generators had their throw() method allowing string exceptions. That's a
no-no. Fixes issue #1147. Need to fix 2.5 to raise a proper warning if a string exception is passed in.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 10f2c71..e5e365a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.6 alpha 1?
Core and builtins
-----------------
+- Issue #1147: Exceptions were directly allowing string exceptions in their
+ throw() method even though string exceptions no longer allowed.
+
- Issue #1096: Prevent a segfault from getting the repr of a very deeply nested
list by using the recursion counter.