[issue10880] do_mkvalue and 'boolean'

Amaury Forgeot d'Arc report at bugs.python.org
Mon Jan 10 18:05:04 CET 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

What makes you think it should be a boolean?
in http://docs.python.org/py3k/c-api/arg.html#Py_BuildValue "b" means "byte" and is processed as a tiny integer.

Now, that's true that Py_BuildValue could have a format for boolean values.  Maybe with a "?" parameter?

----------
nosy: +amaury.forgeotdarc
type: behavior -> feature request

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


More information about the Python-bugs-list mailing list