Author: mattip <[email protected]>
Branch:
Changeset: r72120:792c3453abff
Date: 2014-06-20 16:55 +0300
http://bitbucket.org/pypy/pypy/changeset/792c3453abff/
Log: directly import RawCDLL instead of relying on "import *"
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
@@ -244,7 +244,8 @@
handle = space.fromcache(State).get_pythonapi_handle()
# Make a dll object with it
- from pypy.module._rawffi.interp_rawffi import W_CDLL, RawCDLL
+ from pypy.module._rawffi.interp_rawffi import W_CDLL
+ from rpython.rlib.clibffi import RawCDLL
cdll = RawCDLL(handle)
return space.wrap(W_CDLL(space, "python api", cdll))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit