Nadeem Vawda <[email protected]> added the comment: > I have another proposition (as an alternative). The new _bz2.BZ2Decompressor > objects have an attribute called eof which is False until the end of the > stream is read. The same attribute could be added to zlib.Decompress objects.
+1, I like the idea of being consistent across related modules. I'll put together a patch. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue12646> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
