]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added news of function comparison and hashing by identity
authorMoshe Zadka <moshez@math.huji.ac.il>
Mon, 29 Jan 2001 06:41:00 +0000 (06:41 +0000)
committerMoshe Zadka <moshez@math.huji.ac.il>
Mon, 29 Jan 2001 06:41:00 +0000 (06:41 +0000)
Misc/NEWS

index 3a68d8c59b450a98a20f42340c9bc4de4e88841a..e3ea276bb7ae1d0961aabddb1a1257e6d8c27b96 100644 (file)
--- 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