[Python-Dev] PEP 3000 and iterators
Delaney, Timothy (Tim)
tdelaney at avaya.com
Mon Sep 12 01:28:07 CEST 2005
James Y Knight wrote:
> Just to be clear, I do not want nor expect this. I wish to be able to
> specifically modify code with full knowledge of what has changed in
> Py3.0 such that it will work with both Py2.X and Py3.0.
If you want these things to work in 2.x and 3.0, just use
iter(dict_instance) and list(dict_instance) as appropriate.
Tim Delaney
More information about the Python-Dev
mailing list