Author: Armin Rigo <[email protected]>
Branch: disable_pythonapi
Changeset: r72279:966dc13241c2
Date: 2014-06-30 09:15 +0200
http://bitbucket.org/pypy/pypy/changeset/966dc13241c2/

Log:    Fix

diff --git a/pypy/module/sys/vm.py b/pypy/module/sys/vm.py
--- a/pypy/module/sys/vm.py
+++ b/pypy/module/sys/vm.py
@@ -247,7 +247,7 @@
     # cdll = RawCDLL(handle)
     # return space.wrap(W_CDLL(space, "python api", cdll))
     # Provide a cpython-compatible int
-    from rpython.rtyper.lltypesystem import lltype
+    from rpython.rtyper.lltypesystem import lltype, rffi
     return space.wrap(rffi.cast(lltype.Signed, handle))
 
 def getsizeof(space, w_object, w_default=None):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to