[Python-checkins] r57901 - in sandbox/trunk/2to3: fixes/fix_dict.py fixes/fix_filter.py fixes/fix_map.py tests/test_fixers.py

Collin Winter collinw at gmail.com
Sun Sep 2 01:27:15 CEST 2007


On 9/1/07, Guido van Rossum <guido at python.org> wrote:
> Shouldn't enumerate be removed from this list too (like your comment
> said)? enumerate(d.keys()) *does* change meaning -- in 2.x it captures
> the keys, while in 3.0 it doesn't, so it would be subject to the "dict
> modified while iterating" annoyance.

Yep, fixed in r57902.


More information about the Python-checkins mailing list