[pypy-commit] pypy reflex-support: proper import of cpyext before use
wlav
noreply at buildbot.pypy.org
Tue Aug 6 13:41:16 CEST 2013
Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r65967:a0e5fb5c0db0
Date: 2013-08-06 03:43 -0700
http://bitbucket.org/pypy/pypy/changeset/a0e5fb5c0db0/
Log: proper import of cpyext before use
diff --git a/pypy/module/cppyy/converter.py b/pypy/module/cppyy/converter.py
--- a/pypy/module/cppyy/converter.py
+++ b/pypy/module/cppyy/converter.py
@@ -570,6 +570,7 @@
def free_argument(self, space, arg, call_local):
if hasattr(space, "fake"):
raise NotImplementedError
+ space.getbuiltinmodule("cpyext")
from pypy.module.cpyext.pyobject import Py_DecRef, PyObject
Py_DecRef(space, rffi.cast(PyObject, rffi.cast(rffi.VOIDPP, arg)[0]))
More information about the pypy-commit
mailing list