Guido van Rossum wrote: > On 1/24/07, Jim Jewett <[EMAIL PROTECTED]> wrote: > >> (on python-dev) Kristján V. Jónsson wrote: >> >>> We have been using gc.get_objects() but it has several problems: >>> 1) ... results in a list so long that it often kills the system. >> >> In Py3K, should this also return an iterator, rather than a list?
> I don't know if it makes sense given the GC implementation to > do it in this case. I'd say it almost certainly doesn't, since the list of objects would be changing in all sorts of ways while you were iterating over it. -- Greg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
