Author: Antonio Cuni <[email protected]>
Branch: cpyext-nowrapper
Changeset: r92662:aa3ffaa3a670
Date: 2017-10-07 19:24 +0200
http://bitbucket.org/pypy/pypy/changeset/aa3ffaa3a670/

Log:    this was supposed to continue, not to return; it's 'funny' that
        tests pass anyway :-/

diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/object.py
--- a/pypy/module/cpyext/object.py
+++ b/pypy/module/cpyext/object.py
@@ -57,7 +57,7 @@
         metatype = rffi.cast(PyTypeObjectPtr, tp)
         pyobj = ll_type_alloc(metatype, nitems)
     else:
-        return _allocate_generic_object(tp, nitems)
+        pyobj = _allocate_generic_object(tp, nitems)
     #
     if tp.c_tp_itemsize == 0:
         w_obj = PyObject_Init(space, pyobj, tp)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to