Michael Birtwell added the comment:
Sorry about the delay in the contributor form. Things got in the way then I
completely forgot about it. It's done now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16601
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
Michael Birtwell added the comment:
Embarrassingly as soon as I uploaded that patch I found a problem with it. I
hadn't taken in to account the special case for the first member.
Here's a replacement patch
--
type: - behavior
Added file:
http://bugs.python.org/file28202/fix-tarfile
Michael Birtwell added the comment:
Here's a patch on the tarfile's unittest module.
--
Added file:
http://bugs.python.org/file28203/test-tarfile-restart-iteration.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16601