[New-bugs-announce] [issue45325] Allow "p" in Py_BuildValue

Pablo Galindo Salgado report at bugs.python.org
Wed Sep 29 14:08:04 EDT 2021


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

We should allow Py_BuildValue to take a "p" argument that takes a C int and produces a Python Bool so it would be symmetric with the p format code for PyArg_Parse that takes a Python object and returns a C int containing PyObject_IsTrue(obj).

----------
messages: 402897
nosy: pablogsal
priority: normal
severity: normal
status: open
title: Allow "p" in Py_BuildValue

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45325>
_______________________________________


More information about the New-bugs-announce mailing list