Issue 1586613: zlib/bz2_codec doesn't support incremental decoding (original) (raw)
Issue1586613
Created on 2006-10-29 11:14 by topia, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg30410 - (view) | Author: Topia (topia) | Date: 2006-10-29 11:14 |
http://svn.python.org/view/python/trunk/Lib/encodings/zlib_codec.py?rev=43045&view=auto Incremental encoding/decoding must be stateful. Please use compressobj/decompressobj object. Incremental(Encoder|Decoder)/Stream(Reader | Writer) don't work with current code at all. | |
msg30411 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2006-10-29 14:40 |
Logged In: YES user_id=849994 Fixed the incremental coders/decoders in rev. 52529, 52530 (2.5). The StreamReaders/Writers can't be fixed as easily, because their encode/decode methods don't have a "final" flag, so they wouldn't know when to flush the compress object. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:21 | admin | set | github: 44176 |
2006-10-29 11:14:01 | topia | create |