Author: Wim Lavrijsen <[email protected]>
Branch: cppyy-packaging
Changeset: r92726:bda46aec4528
Date: 2017-10-11 16:11 -0700
http://bitbucket.org/pypy/pypy/changeset/bda46aec4528/
Log: translation 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
@@ -1039,7 +1039,7 @@
# allow user to determine ownership rules on a per object level
def fget_python_owns(self, space):
- return space.newbool(self.flags & INSTANCE_FLAGS_PYTHON_OWNS)
+ return space.newbool(bool(self.flags & INSTANCE_FLAGS_PYTHON_OWNS))
@unwrap_spec(value=bool)
def fset_python_owns(self, space, value):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit