summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-16 03:38:10 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-16 03:38:10 (GMT)
commitf808b891d6c1a0a6387a791dccd3305492dff555 (patch)
tree0b8319d68df8d03c8c5d55d22e6f85a6f7d4a1ad /Misc
parentb7164621fa6619b45001eff50417d189c088d621 (diff)
downloadcpython-f808b891d6c1a0a6387a791dccd3305492dff555.zip
cpython-f808b891d6c1a0a6387a791dccd3305492dff555.tar.gz
cpython-f808b891d6c1a0a6387a791dccd3305492dff555.tar.bz2
Mention warnings about defining None.
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 2c9d83f..7a26000 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