[pypy-commit] pypy cppyy-packaging: make sure to pass w_this for non-templated overloads of templates
wlav
pypy.commits at gmail.com
Tue Jul 17 02:01:44 EDT 2018
Author: Wim Lavrijsen <WLavrijsen at 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
More information about the pypy-commit
mailing list