Author: Gregor Wegberg <[email protected]>
Branch: gc-incminimark-pinning-improve
Changeset: r76533:58d1159cd44c
Date: 2015-03-23 16:24 +0100
http://bitbucket.org/pypy/pypy/changeset/58d1159cd44c/

Log:    translation fix, should be double checked (all tests pass)

diff --git a/rpython/rlib/rzlib.py b/rpython/rlib/rzlib.py
--- a/rpython/rlib/rzlib.py
+++ b/rpython/rlib/rzlib.py
@@ -365,6 +365,7 @@
     """Common code for compress() and decompress().
     """
     # Prepare the input buffer for the stream
+    assert data is not None # XXX seems to be sane assumption, however not for 
sure
     with rffi.scoped_nonmovingbuffer(data) as inbuf:
         stream.c_next_in = rffi.cast(Bytefp, inbuf)
         rffi.setintfield(stream, 'c_avail_in', len(data))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to