Author: Armin Rigo <ar...@tunes.org> Branch: cpyext-gc-support-2 Changeset: r82272:bde14abe82c8 Date: 2016-02-15 19:58 +0100 http://bitbucket.org/pypy/pypy/changeset/bde14abe82c8/
Log: fix diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy/module/cpyext/api.py @@ -635,7 +635,7 @@ arg = args[i] if is_PyObject(typ) and is_wrapped: assert is_pyobj(arg) - arg_conv = from_ref(space, arg) + arg_conv = from_ref(space, rffi.cast(PyObject, arg)) else: arg_conv = arg boxed_args += (arg_conv, ) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit