[issue8397] BZ2File doesn't protect against mixed iterator and read usage
Antoine Pitrou
report at bugs.python.org
Sun Aug 1 15:57:29 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
Well I'm not the bz2 maintainer but I could take a look. The BZ2File implementation is generally a straight ripoff of the 2.x file object, with (de)compression calls added where necessary. I guess the ripoff was a one-shot effort and subsequent maintenance wasn't done.
It makes it quite a bit alien in the 3.x IO landscape, but until someone decides to rewrite it we'll have to live with that.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8397>
_______________________________________
More information about the Python-bugs-list
mailing list