Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
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 alsoa055dac.
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