[pypy-svn] r79422 - pypy/branch/reflex-support/pypy/module/cppyy

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Nov 23 17:58:56 CET 2010


Author: cfbolz
Date: Tue Nov 23 17:58:55 2010
New Revision: 79422

Modified:
   pypy/branch/reflex-support/pypy/module/cppyy/interp_cppyy.py
Log:
disable this differently


Modified: pypy/branch/reflex-support/pypy/module/cppyy/interp_cppyy.py
==============================================================================
--- pypy/branch/reflex-support/pypy/module/cppyy/interp_cppyy.py	(original)
+++ pypy/branch/reflex-support/pypy/module/cppyy/interp_cppyy.py	Tue Nov 23 17:58:55 2010
@@ -71,18 +71,18 @@
         self.executor = executor.get_executor(self.space, result_type)
         self.arg_converters = None
         # <hack>
-        self.hack_call = False #arg_types == ['int'] and result_type == 'int'
+        #self.hack_call = arg_types == ['int'] and result_type == 'int'
         # </hack>
 
     def call(self, cppthis, args_w):
         if self.executor is None:
             raise OperationError(self.space.w_TypeError, self.space.wrap("return type not handled"))
 
-        if self.hack_call:
-            try:
-                return self.do_hack_call(cppthis, args_w)
-            except NotImplementedError:
-                pass
+        #if self.hack_call:
+        #    try:
+        #        return self.do_hack_call(cppthis, args_w)
+        #    except NotImplementedError:
+        #        pass
 
         args = self.prepare_arguments(args_w)
         try:



More information about the Pypy-commit mailing list