summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2005-05-15 13:29:26 (GMT)
committerArmin Rigo <arigo@tunes.org>2005-05-15 13:29:26 (GMT)
commit57179feec8b0b22a81ec70b4f4037a17f06fd415 (patch)
tree93af30951953d1dda9a829471baac83b10e75491 /Doc/lib
parent174dd2219de2e9ff312d6541089d9d9b7ff785d6 (diff)
downloadcpython-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