[pypy-svn] r78792 - pypy/branch/fast-forward/pypy/module/zlib

afa at codespeak.net afa at codespeak.net
Sat Nov 6 13:33:41 CET 2010


Author: afa
Date: Sat Nov  6 13:33:40 2010
New Revision: 78792

Modified:
   pypy/branch/fast-forward/pypy/module/zlib/interp_zlib.py
Log:
Fix failures in module/zlib/test


Modified: pypy/branch/fast-forward/pypy/module/zlib/interp_zlib.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/zlib/interp_zlib.py	(original)
+++ pypy/branch/fast-forward/pypy/module/zlib/interp_zlib.py	Sat Nov  6 13:33:40 2010
@@ -315,7 +315,7 @@
     decompress.unwrap_spec = ['self', 'bufferstr', int]
 
 
-    def flush(self, length=0):
+    def flush(self, length=sys.maxint):
         """
         flush( [length] ) -- This is kept for backward compatibility,
         because each call to decompress() immediately returns as much



More information about the Pypy-commit mailing list