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 Thomas Güttler, ethan.furman, guettli, lars.gustaebel, martin.panter
Date 2015-06-01.06:49:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

This is actually a nice idea that I hadn't thought of. I updated the Python 3 patch to use a seek() that moves to one byte before the next header block, reads the remaining byte and raises an error if it hits eof. The code looks rather clean compared to the previous patch, and it should perform like it always did.

I am not quite sure about which exception type to use, ReadError is used in tarfile's header parsing code, but OSError is already used in tarfile.copyfileobj() and might be more like what the user expects.
Date User Action Args
2015-06-01 06:49:39lars.gustaebelsetrecipients: + lars.gustaebel, guettli, ethan.furman, martin.panter, Thomas Güttler
2015-06-01 06:49:39lars.gustaebelsetmessageid: <>
2015-06-01 06:49:39lars.gustaebellinkissue24259 messages
2015-06-01 06:49:38lars.gustaebelcreate