diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-05-10 08:32:44 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-05-10 08:32:44 (GMT) |
commit | 95bf9390a488004f66db1eccaa049203ef8ab5b3 (patch) | |
tree | 1707b38c17b2de6fede7f215f9007834994fa81b /Misc | |
parent | 66aaaae54c6ce98fbe322cabee4c85f18104cc8b (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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)? ================================= |