[pypy-commit] pypy disable_pythonapi: Fix
arigo
noreply at buildbot.pypy.org
Mon Jun 30 09:15:48 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
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):
More information about the pypy-commit
mailing list