commit | 13bfa3a97b77d722af38e70289e989c764c69765 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Tue Sep 11 21:12:14 2007 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Tue Sep 11 21:12:14 2007 +0000 |
tree | 4cdb5e071566c5a2110c98d2fc57f542cb67cc3e | |
parent | 18726be4d48e4e78b981029818234897f3f59f5c [diff] [blame] |
Cause passing a string to generator.throw() to raise a deprecation warning.
diff --git a/Misc/NEWS b/Misc/NEWS index 214611b..24b29eb 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,9 @@ Core and builtins ----------------- +- Issue #1147: Generators were not raising a DeprecationWarning when a string + was passed into throw(). + - Patch #1031213: Decode source line in SyntaxErrors back to its original source encoding.