This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lars.gustaebel
Recipients christian.heimes, edulix, lars.gustaebel, loewis, serhiy.storchaka
Date 2014-01-30.11:57:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391083065.85.0.00217916049909.issue18321@psf.upfronthosting.co.za>
In-reply-to
Content
At first, I'd like to take back my comment on this patch being too complex for too little benefit. That is no real argument.

Okay, I gave it a shot and I have a few more remarks:

The patch does not support iterating over a multi-volume tar archive, e.g. for TarFile.list(). You must implement this.

In my opinion, a tar archive is one logical unit even if it spans across multiple volumes. Thus, it is vital to have .getmembers() and .getnames() reflect the entirety of the archive, e.g. to support "if filename in .getnames()". I think it could be a good idea to store the volume number along each TarInfo object for random-access.

By the way, which standard are you referring to? The only one I know of is POSIX pax which doesn't say anything about multiple volumes.
History
Date User Action Args
2014-01-30 11:57:45lars.gustaebelsetrecipients: + lars.gustaebel, loewis, christian.heimes, serhiy.storchaka, edulix
2014-01-30 11:57:45lars.gustaebelsetmessageid: <1391083065.85.0.00217916049909.issue18321@psf.upfronthosting.co.za>
2014-01-30 11:57:45lars.gustaebellinkissue18321 messages
2014-01-30 11:57:45lars.gustaebelcreate