[issue14205] Raise an error if a dict is modified during a lookup
Guido van Rossum
report at bugs.python.org
Fri Mar 9 01:50:02 CET 2012
Guido van Rossum <guido at python.org> added the comment:
I'm still torn. Can you implement the counter without adding an extra field to the dict object? I worry that we'll get the same objection we had when MAL proposed collision counting as a solution to the hash DoS attack.
The numbers 0, 1 and infinity are special; all others are to be treated with skepticism.
I'm prepared to make the current semantic change a 3.3 feature, but I'm not sure it's safe to backport.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list