[Python-Dev] PEP 372 -- Adding an ordered directory to collections ready for pronouncement

Forest list8a.forest at tibit.com
Tue Mar 3 22:17:33 CET 2009


Raymond Hettinger wrote:
> [Forest]
>> Perhaps a new method like getfirst() would be worth while here?
>
> Guido already gave you a way to access the first item using the existing
> API.
> Using next(iter(d)) also works.

Yep.  I think messages are arriving out of order.

-1 on my own suggestion.




More information about the Python-Dev mailing list