This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients pablogsal, serhiy.storchaka, vstinner
Date 2021-09-29.20:25:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632947122.28.0.303865848271.issue45325@roundup.psfhosted.org>
In-reply-to
Content
> 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
History
Date User Action Args
2021-09-29 20:25:22pablogsalsetrecipients: + pablogsal, vstinner, serhiy.storchaka
2021-09-29 20:25:22pablogsalsetmessageid: <1632947122.28.0.303865848271.issue45325@roundup.psfhosted.org>
2021-09-29 20:25:22pablogsallinkissue45325 messages
2021-09-29 20:25:22pablogsalcreate