-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-argument-clinictype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
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
Metadata
Metadata
Assignees
Labels
3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-argument-clinictype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error