[pypy-commit] pypy reflex-support: rtyper fix

wlav noreply at buildbot.pypy.org
Tue Jun 26 21:15:58 CEST 2012


Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r55843:a1791f1d61fb
Date: 2012-06-25 18:31 -0700
http://bitbucket.org/pypy/pypy/changeset/a1791f1d61fb/

Log:	rtyper fix

diff --git a/pypy/module/cppyy/interp_cppyy.py b/pypy/module/cppyy/interp_cppyy.py
--- a/pypy/module/cppyy/interp_cppyy.py
+++ b/pypy/module/cppyy/interp_cppyy.py
@@ -700,7 +700,7 @@
             f = gbl._make_cppfunction(meth_idx)
             ol = W_CPPOverload(self.space, scope_byname(self.space, ""), [f])
             # TODO: cache this operator (currently cached by JIT in capi/__init__.py)
-            return ol.call(self, (self, w_other))
+            return ol.call(self, [self, w_other])
         
         # fallback: direct pointer comparison (the class comparison is needed since the
         # first data member in a struct and the struct have the same address)


More information about the pypy-commit mailing list