[New-bugs-announce] [issue16601] Restarting iteration over tarfile continues from where it left off.
report at bugs.python.org
Mon Dec 3 21:01:12 CET 2012
New submission from Michael Birtwell:
If you partially iterate over a tarfile then try and restart iteration of that tarfile it will continue from where it left off rather than restarting from the beginning.
I've only tried this with the tarfile implementation in python 2.7 but the 3.x code looks the same in this respect.
I've included a patch with my approach to fixing this.
components: Library (Lib)
title: Restarting iteration over tarfile continues from where it left off.
versions: Python 2.7
Added file: http://bugs.python.org/file28200/fix-tarfile-restart-iteration.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce