diff options
author | Guido van Rossum <guido@python.org> | 2002-12-23 16:35:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-12-23 16:35:23 (GMT) |
commit | 9c8a0866c924ef92221a2c6e55f1774ee6feb408 (patch) | |
tree | eec872ba9e086e8e9f274befb10b0f93e413e84f /Misc/NEWS | |
parent | a4deda0d11b1369dcb74226094c95f86fe716cbc (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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] |