[pypy-svn] r73015 - pypy/branch/cpython-extension/pypy/module/cpyext

xoraxax at codespeak.net xoraxax at codespeak.net
Sun Mar 28 03:55:46 CEST 2010


Author: xoraxax
Date: Sun Mar 28 03:55:44 2010
New Revision: 73015

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/api.py
Log:
Try with a tuple, fails unfortunately as well.

Modified: pypy/branch/cpython-extension/pypy/module/cpyext/api.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/api.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/api.py	Sun Mar 28 03:55:44 2010
@@ -557,7 +557,7 @@
 
 def setup_library(space):
     for name, func in FUNCTIONS.iteritems():
-        deco = entrypoint("cpyext", func.argtypes, name)
+        deco = entrypoint("cpyext", (tuple(func.argtypes), ), name)
         deco(func.get_wrapper(space))
 
 @unwrap_spec(ObjSpace, str, str)



More information about the Pypy-commit mailing list