[issue14205] Raise an error if a dict is modified during a lookup

Mark Shannon report at bugs.python.org
Fri Mar 9 14:52:48 CET 2012


Mark Shannon <mark at hotpy.org> added the comment:

STINNER Victor wrote:
> STINNER Victor <victor.stinner at gmail.com> added the comment:
> 
> Guido> Given all this I think we should keep it as you have committed
> Guido> and add it to the docs and whatsnew.
> 
> I updated What's New in Python 3.3 document. I also wrote an email to python-dev to notify all developers of this change. Let's close the issue.
> 

The tests still need to fixed

test_mutating_lookuptest doesn't fail on the unmodified version of cpython.
Lib/test/crashers/nasty_eq_vs_dict.py has been removed, but
no equivalent test has been added to Lib/test/test_dict.py

There should be at least one failing test for this issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14205>
_______________________________________


More information about the Python-bugs-list mailing list