On Thu, 17 Jul 2008 06:14:45 -0700 (PDT), Uwe Schmitt
<[EMAIL PROTECTED]> wrote:

>I had a look at tarfile.py in my current Python 2.5 installations
>lib path. The iterator caches TarInfo objects in a list
>tf.members . If you only want to iterate and you  are not interested
>in more functionallity, you could use "tf.members=[]" inside
>your loop. This is a dirty hack !

Thanks, Uwe.  That works fine for me.  It now reads through all 2.5
million members, in about 30 minutes, never going above a 4M working
set.


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to