[issue7004] Py_RETURN_BOOL() convenience macro

Jon Parise report at bugs.python.org
Sun Sep 27 23:30:12 CEST 2009


Jon Parise <jon at indelible.org> added the comment:

I agree, as well.

I didn't consider PyBool_FromLong() because I was expecting to solve the
problem using a macro, but that is clearly not the best approach here
(insignificant function call overhead aside).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7004>
_______________________________________


More information about the Python-bugs-list mailing list