Closed
Description
Bug report
It is documented that PyModule_AddIntMacro
can raise an error (and it can in fact):
.. c:macro:: PyModule_AddIntMacro(module, macro)
Return ``-1`` on error, ``0`` on success.
But, some calls are not checked for errors:
cpython/Modules/selectmodule.c
Lines 2471 to 2476 in 96cbd1e