Author: Wim Lavrijsen <[email protected]>
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]))
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to