-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Open
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-argument-clinictype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
The c_default
option of the bool
and char
converters does not have effect.
It is especially bad for bool
where the default value other than 0
and 1
can be used to detect whether the argument was passed. I have a quick and dirty fix for this.
For char
, a serious rewrite of Argument Clinic is needed.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-argument-clinictype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error