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

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Nov 23 17:33:57 CET 2010


Author: cfbolz
Date: Tue Nov 23 17:33:56 2010
New Revision: 79419

Modified:
   pypy/branch/reflex-support/pypy/module/cppyy/interp_cppyy.py
Log:
Disable the call hack, as it breaks things now that NotImplementedError cannot
be caught.


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:33:56 2010
@@ -71,7 +71,7 @@
         self.executor = executor.get_executor(self.space, result_type)
         self.arg_converters = None
         # <hack>
-        self.hack_call = arg_types == ['int'] and result_type == 'int'
+        self.hack_call = False #arg_types == ['int'] and result_type == 'int'
         # </hack>
 
     def call(self, cppthis, args_w):



More information about the Pypy-commit mailing list