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 strombrg
Recipients strombrg
Date 2011-03-09.05:00:10
SpamBayes Score 8.046589e-09
Marked as misclassified No
Message-id <1299646812.24.0.118802902773.issue11449@psf.upfronthosting.co.za>
In-reply-to
Content
The attached file demonstrates the problem in 2.5, 2.5, 2.7, 3.0, 3.1 and 3.2.

In short, I believe when you're creating a new tar archive (say, to a pipe), there should be no need for a file_.tell() (which blows up when it's a pipe).

I have a workaround, as demonstrated in the file, but probably others shouldn't have to work around this also in the future.

Suggested fix: Only do the tell when you're appending or performing other operations that require subsequent seek's.
History
Date User Action Args
2011-03-09 05:00:12strombrgsetrecipients: + strombrg
2011-03-09 05:00:12strombrgsetmessageid: <1299646812.24.0.118802902773.issue11449@psf.upfronthosting.co.za>
2011-03-09 05:00:11strombrglinkissue11449 messages
2011-03-09 05:00:10strombrgcreate