[issue33012] Invalid function cast warnings with gcc 8 for METH_NOARGS

Serhiy Storchaka report at bugs.python.org
Thu May 10 06:28:54 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

The following PRs fix warnings in casts to PyCFunction for method conventions different from METH_NOARGS, METH_O and
METH_VARARGS. PR 6748 does this for Argument Clinic generated code (all files except Tools/clinic/clinic.py are generated). PR 6749 does it for hand-written code. It also fixes few missed or new cases for METH_NOARGS.

----------

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


More information about the Python-bugs-list mailing list