[pypy-commit] pypy default: this is no longer a tentative hack, it's the real solution :-)

antocuni noreply at buildbot.pypy.org
Mon Jun 6 15:15:05 CEST 2011


Author: Antonio Cuni <anto.cuni at 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)


More information about the pypy-commit mailing list