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 jcd
Recipients jcd, jojko.sivek, nadeem.vawda
Date 2015-06-02.00:08:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433203703.71.0.0485905244039.issue24258@psf.upfronthosting.co.za>
In-reply-to
Content
I've got a fix for this now.  In working on it, I've discovered that not all file-like objects have a .name attribute.  io.BytesIO (which is used all over the test suite) does not.  I've written a patch that always creates a .name attribute on BZ2File, but sets it to None if the associated file-like object has no .name.

See the linked branch
History
Date User Action Args
2015-06-02 00:08:23jcdsetrecipients: + jcd, nadeem.vawda, jojko.sivek
2015-06-02 00:08:23jcdsetmessageid: <1433203703.71.0.0485905244039.issue24258@psf.upfronthosting.co.za>
2015-06-02 00:08:23jcdlinkissue24258 messages
2015-06-02 00:08:23jcdcreate