[pypy-svn] pypy jitypes2: this codepath seems to be just right. test_funcptr.test_first passes

antocuni commits-noreply at bitbucket.org
Thu Dec 30 14:12:59 CET 2010


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: jitypes2
Changeset: r40278:2516baf97366
Date: 2010-12-30 13:38 +0100
http://bitbucket.org/pypy/pypy/changeset/2516baf97366/

Log:	this codepath seems to be just right. test_funcptr.test_first passes

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
@@ -166,7 +166,6 @@
     
     def __call__(self, *args):
         if self.callable is not None:
-            assert False, 'TODO1'
             args = args[:len(self._argtypes_)]
             try:
                 res = self.callable(*args)


More information about the Pypy-commit mailing list