Antoine Pitrou <pit...@free.fr> added the comment:

Ok, can you try the following patch then:

Index: Lib/gzip.py
===================================================================
--- Lib/gzip.py (révision 80760)
+++ Lib/gzip.py (copie de travail)
@@ -362,7 +362,7 @@
         if self.mode == WRITE:
             # Ensure the compressor's buffer is flushed
             self.fileobj.write(self.compress.flush(zlib_mode))
-        self.fileobj.flush()
+            self.fileobj.flush()
 
     def fileno(self):
         """Invoke the underlying file object's fileno() method.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8614>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to