Author: Antonio Cuni <anto.c...@gmail.com> Branch: Changeset: r44747:0780b45b21a5 Date: 2011-06-06 15:15 +0200 http://bitbucket.org/pypy/pypy/changeset/0780b45b21a5/
Log: this is no longer a tentative hack, it's the real solution :-) diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py --- a/lib_pypy/_ctypes/function.py +++ b/lib_pypy/_ctypes/function.py @@ -94,7 +94,6 @@ "item %d in _argtypes_ has no from_param method" % ( i + 1,)) # - # XXX tentative hack to make it jit-friendly if all([hasattr(argtype, '_ffiargshape') for argtype in argtypes]): fastpath_cls = make_fastpath_subclass(self.__class__) fastpath_cls.enable_fastpath_maybe(self) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit