mirror of
https://github.com/python/cpython.git
synced 2026-05-16 01:19:28 -04:00
a703a21b48
memory leak that would've occurred for all iterators that were destroyed before having iterated until they raised StopIteration. * Simplify some code. * Add new test cases to check for the memleak and ensure that mixing iteration with modification of the values for existing keys works.