Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> There was no much need of this feature. In rare cases when we needed to build 
> a bool in Py_BuildValue (I have found only 2 cases in the stdlib, and one of 
> them is added by me) we use the following idiom:

Is true that this is not very common, but I have find this in several occasions 
writing extension code and given the small impact and maintenance cost and the 
symmetry with PyArg_Parse I figured that could be useful

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45325>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to