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
The
c_defaultoption of theboolandcharconverters does not have effect.It is especially bad for
boolwhere the default value other than0and1can 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