Cliff Dyer added the comment:

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

----------
hgrepos: +311

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24258>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to