Author: Wim Lavrijsen <wlavrij...@lbl.gov> Branch: cppyy-packaging Changeset: r94872:1bad6c9de6b7 Date: 2018-07-16 22:41 -0700 http://bitbucket.org/pypy/pypy/changeset/1bad6c9de6b7/
Log: make sure to pass w_this for non-templated overloads of templates 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 @@ -926,7 +926,7 @@ # try existing overloads or compile-time instantiations try: - return W_CPPOverload.call_args(self, args_w) + return W_CPPOverload.call_args(self, [self.w_this]+args_w) except Exception: pass _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit