user202729 · GitHub

Feature or enhancement

Proposal:

There has been complaints about type=bool usage in argparse: #81745 #83348 #71181 . See also https://stackoverflow.com/questions/15008758/parsing-boolean-values-with-argparse

while we may not want to actually change the behavior (given existing code on the wild might use it, as mentioned in previous discussions), what about raise a warning? Or is that also too intrusive?

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Read the original on github.com ↗