summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-10 08:32:44 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-05-10 08:32:44 (GMT)
commit95bf9390a488004f66db1eccaa049203ef8ab5b3 (patch)
tree1707b38c17b2de6fede7f215f9007834994fa81b /Misc
parent66aaaae54c6ce98fbe322cabee4c85f18104cc8b (diff)
downloadcpython-95bf9390a488004f66db1eccaa049203ef8ab5b3.zip
cpython-95bf9390a488004f66db1eccaa049203ef8ab5b3.tar.gz
cpython-95bf9390a488004f66db1eccaa049203ef8ab5b3.tar.bz2
SF bug #422121 Insecurities in dict comparison.
Fixed a half dozen ways in which general dict comparison could crash Python (even cause Win98SE to reboot) in the presence of kay and/or value comparison routines that mutate the dict during dict comparison. Bugfix candidate.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 7906613..8b4021f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -47,6 +47,11 @@ Core
- Comparing dictionary objects via == and != is faster, and now works even
if the keys and values don't support comparisons other than ==.
+- Comparing dictionaries in ways other than == and != is slower: there were
+ insecurities in the dict comparison implementation that could cause Python
+ to crash if the element comparison routines for the dict keys and/or
+ values mutated the dicts. Making the code bulletproof slowed it down.
+
What's New in Python 2.1 (final)?
=================================