Amaury Forgeot d'Arc <amaur...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to