diff options
author | Armin Rigo <arigo@tunes.org> | 2005-05-15 13:29:26 (GMT) |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2005-05-15 13:29:26 (GMT) |
commit | 57179feec8b0b22a81ec70b4f4037a17f06fd415 (patch) | |
tree | 93af30951953d1dda9a829471baac83b10e75491 /Doc/lib | |
parent | 174dd2219de2e9ff312d6541089d9d9b7ff785d6 (diff) | |
download | cpython-57179feec8b0b22a81ec70b4f4037a17f06fd415.zip cpython-57179feec8b0b22a81ec70b4f4037a17f06fd415.tar.gz cpython-57179feec8b0b22a81ec70b4f4037a17f06fd415.tar.bz2 |
This test relied on short-circuiting details of dictobject.py to avoid
crashing, and indirectly on the fact that hash codes in
random.randrange(1000000000) were very unlikely to exhibit collisions.
To see the problem, replace this number with 500 and observe the crash on
either del target[key] or del keys[i].
The fix prevents recursive mutation, just as in the key insertion case.
Diffstat (limited to 'Doc/lib')
0 files changed, 0 insertions, 0 deletions