summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-12-23 16:35:23 (GMT)
committerGuido van Rossum <guido@python.org>2002-12-23 16:35:23 (GMT)
commit9c8a0866c924ef92221a2c6e55f1774ee6feb408 (patch)
treeeec872ba9e086e8e9f274befb10b0f93e413e84f /Misc/NEWS
parenta4deda0d11b1369dcb74226094c95f86fe716cbc (diff)
downloadcpython-9c8a0866c924ef92221a2c6e55f1774ee6feb408.zip
cpython-9c8a0866c924ef92221a2c6e55f1774ee6feb408.tar.gz
cpython-9c8a0866c924ef92221a2c6e55f1774ee6feb408.tar.bz2
Add warning for assignment to None, True and False. This is patch
549213 by Jeremy (checking in for him since he's away and busy).
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5cc62bf..8da277a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -84,6 +84,10 @@ Type/class unification and new-style classes
Core and builtins
-----------------
+- Assignment to None has long been frowned upon. Now there's a
+ warning message when you do this. It also warns against assignment
+ to True or False.
+
- A frame object's f_lineno attribute can now be written to from a
trace function to change which line will execute next. A command to
exploit this from pdb has been added. [SF patch #643835]