[issue14705] Add 'bool' format character to PyArg_ParseTuple*

Mark Dickinson report at bugs.python.org
Fri May 4 15:43:18 CEST 2012


Mark Dickinson <dickinsm at gmail.com> added the comment:

In this line in the patch (Python/getargs.c):

+        if (val == -1 || PyErr_Occurred()) {

Isn't that call to PyErr_Occurred() redundant?

----------

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


More information about the Python-bugs-list mailing list