Closed
Description
Bug report
Argument Clinic generates incorrect code for methods without arguments, that need the defining class (METH_METHOD
). Currently, only positional arguments are checked; any keyword argument is silently accepted. This affects methods in several extension modules (see PR).
See also a055dac.
Linked PRs
- gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without args #115016
- [3.12] gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params (#115016) #115067
- [3.11] gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params (#115016) #115069