]> granicus.if.org Git - python/commitdiff
Add note about assignment to __debug__ being an error.
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 9 Nov 2001 21:06:24 +0000 (21:06 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 9 Nov 2001 21:06:24 +0000 (21:06 +0000)
Misc/NEWS

index e873dad6882c9a12b7afb5e4a9f308b27638e81f..ba98321d9f4d262715e707efe183b0ef81956312 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -27,6 +27,10 @@ Type/class unification and new-style classes
 
 Core and builtins
 
+- Assignment to __debug__ raises SyntaxError at compile-time.  This
+  was promised when 2.1c1 was released as "What's New in Python 2.1c1"
+  (below) says.
+
 - Clarified the error messages for unsupported operands to an operator
   (like 1 + '').