Optional groups were designed to support two specific legacy use cases:
* functions that have groups of parameters that are
* functions with optional parameters to the left of required parameters
They are not intended to be used in cases like this. I really, really wish you would stop using them except for these specific legacy cases.
Furthermore, the argument parsing for tkinter.tkapp.wantobjects has a very clear translation into Argument Clinic:
value: int = -1
/
Optional groups should not be used for single-argument functions. I have no interest in fixing this bug. |