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 edulix
Recipients edulix
Date 2013-06-28.08:06:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372406777.07.0.523288075904.issue18321@psf.upfronthosting.co.za>
In-reply-to
Content
The patch attached provides implementation for multivolume support for tarfile module. It contains both the changes in the module and a battery of unit tests. It contains support for multivolume for both GNU and PAX formats.

The main idea behind this proposal is that for dealing with new volumes, the user will provide a callback function. In this callback function the user typically calls to TarFile.open_volume(filename) with the appropiate filename. This is quite flexible in the sense that the callback function could even ask the user for the filename of the next volume (as tar command does), or do anything they need before returning or before calling to open_volume. 

Please feel free to comment on how to improve the implementation or the API. Documentation for the new feature will be provided at a later stage of the review process if the patch gets a good review.
History
Date User Action Args
2013-06-28 08:06:17edulixsetrecipients: + edulix
2013-06-28 08:06:17edulixsetmessageid: <1372406777.07.0.523288075904.issue18321@psf.upfronthosting.co.za>
2013-06-28 08:06:16edulixlinkissue18321 messages
2013-06-28 08:06:16edulixcreate