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 antoine.pietri
Recipients antoine.pietri
Date 2014-03-24.01:54:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395626080.08.0.957628579418.issue21044@psf.upfronthosting.co.za>
In-reply-to
Content
Alternatively, if the "name" attribute can't be removed, I propose the following diff for the tarfile module:

-if name is None and hasattr(fileobj, "name"):
+if name is None and hasattr(fileobj, "name") and isinstance(fileobj.name, str):

:-)
History
Date User Action Args
2014-03-24 01:54:40antoine.pietrisetrecipients: + antoine.pietri
2014-03-24 01:54:40antoine.pietrisetmessageid: <1395626080.08.0.957628579418.issue21044@psf.upfronthosting.co.za>
2014-03-24 01:54:40antoine.pietrilinkissue21044 messages
2014-03-24 01:54:39antoine.pietricreate