[issue14705] Add 'bool' format character to PyArg_ParseTuple*
Larry Hastings
report at bugs.python.org
Sun May 6 02:21:18 CEST 2012
Larry Hastings <larry at hastings.org> added the comment:
> I would have expected a bool parse code to insist on a boolean,
I originally had a second form ('P') that insisted on a boolean as you suggest. But nobody could come up with a use case. So I removed it in the final patch. Please see this issue for the discussion.
If you have a use case for it I'd be happy to revive it and check it in.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14705>
_______________________________________
More information about the Python-bugs-list
mailing list