Looking for info on Python's memory allocation

"Martin v. Löwis" martin at v.loewis.de
Tue Oct 11 20:21:39 EDT 2005


Fredrik Lundh wrote:
>>>>I = iter(L)
>>>>I
> 
> <listiterator object at 0x0091ABD0>
> 
>>>>len(I)
> 
> 3
[...]
> (it's probably not a good idea to rely on this behaviour...)

I believe this has been classified as a bug in Python 2.4, which
will be undone in Python 2.5.

Regards,
Martin



More information about the Python-list mailing list