summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoshe Zadka <moshez@math.huji.ac.il>2001-01-29 06:41:00 (GMT)
committerMoshe Zadka <moshez@math.huji.ac.il>2001-01-29 06:41:00 (GMT)
commit6af0ce050166553cfd51556c6bd1853910d60739 (patch)
tree7aec21d8dc2ecff89aa7a184e5bcbfcdb49f9f31
parent3229b859fba76b5e8d276250c863ac91a4ea8235 (diff)
downloadcpython-6af0ce050166553cfd51556c6bd1853910d60739.zip
cpython-6af0ce050166553cfd51556c6bd1853910d60739.tar.gz
cpython-6af0ce050166553cfd51556c6bd1853910d60739.tar.bz2
Added news of function comparison and hashing by identity
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3a68d8c..e3ea276 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ Core language, builtins, and interpreter
'\texample \r\n\x00\xff' # in 2.1
'\011example \015\012\000\377' # in 2.0
+- Functions are now compared and hashed by identity, not by value, since
+ the func_code attribute is writable.
+
Standard library