[pypy-commit] pypy buffer-interface2: disable wrapper that somehow causes translated pypy to fail

mattip pypy.commits at gmail.com
Sun Oct 16 07:57:00 EDT 2016


Author: Matti Picus <matti.picus at gmail.com>
Branch: buffer-interface2
Changeset: r87829:cf68a51fde59
Date: 2016-10-16 14:55 +0300
http://bitbucket.org/pypy/pypy/changeset/cf68a51fde59/

Log:	disable wrapper that somehow causes translated pypy to fail

diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py
--- a/pypy/module/cpyext/slotdefs.py
+++ b/pypy/module/cpyext/slotdefs.py
@@ -641,6 +641,8 @@
                 ret = fill_Py_buffer(space, buf, view)
                 return ret
             return 0
+        # XXX remove this when it no longer crashes a translated PyPy
+        return
         api_func = buff_w.api_func
     else:
         # missing: tp_as_number.nb_nonzero, tp_as_number.nb_coerce


More information about the pypy-commit mailing list