From: Guido van Rossum Date: Fri, 16 Aug 2002 03:38:10 +0000 (+0000) Subject: Mention warnings about defining None. X-Git-Tag: v2.3c1~4437 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f808b891d6c1a0a6387a791dccd3305492dff555;p=python Mention warnings about defining None. --- diff --git a/Misc/NEWS b/Misc/NEWS index 2c9d83f40d..7a260006d6 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -57,6 +57,9 @@ Type/class unification and new-style classes Core and builtins +- Use of 'None' as a variable, argument or attribute name now + issues a SyntaxWarning. In the future, None may become a keyword. + - SET_LINENO is gone. co_lnotab is now consulted to determine when to call the trace function. C code that accessed f_lineno should call PyCode_Addr2Line instead (f_lineno is still there, but not kept up