diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-09-11 21:02:28 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-09-11 21:02:28 (GMT) |
commit | 4c20bc40d73a7f4a977475e4fa02f7c8a43d796a (patch) | |
tree | bda917217f80707f88ab8514b5c0e383fd677b40 /Misc | |
parent | 0b7120258a4df671291e39d3eb95a71a9dc4c186 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |