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 martin.panter
Recipients chaica_, docs@python, martin.panter
Date 2015-02-12.11:30:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Using fileobj=sys.stdin.buffer instead should do the trick. The “tarfile” module would expect a binary stream, not a text stream.

Given the documentation currently says, “Use this variant in combination with e.g. sys.stdin, . . .”, I presume that is why you were using plain stdin. The documentation should be clarified.
Date User Action Args
2015-02-12 11:30:06martin.pantersetrecipients: + martin.panter, chaica_, docs@python
2015-02-12 11:30:06martin.pantersetmessageid: <>
2015-02-12 11:30:06martin.panterlinkissue23453 messages
2015-02-12 11:30:06martin.pantercreate