[issue30017] zlib.error: Error -2 while flushing: inconsistent stream state
Changes by Jeremy Heiner : -- title: zlib -> zlib.error: Error -2 while flushing: inconsistent stream state ___ Python tracker <http://bugs.python.org/issu
[issue30017] zlib
New submission from Jeremy Heiner: I had some statements inside a `with` statement to write data to an entry in a ZipFile. It worked great. I added a second `with` statement containing almost exactly the same statements. That still worked great. I refactored those common statements into a