Serhiy Storchaka added the comment: We already have stackable pieces for gzip, bz2 and lzma compressed streams -- GzipFile, BZ2File and LZMAFile. They are more powerful and more efficient than generic codecs.StreamReader/codecs.StreamWriter (and note that most binary codecs are just don't work correctly with codecs streams).
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20405> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com