[issue41769] Positional arguments with boolean actions behave differently

Rafael Guterres Jeffman report at bugs.python.org
Mon Sep 21 10:45:29 EDT 2020


Rafael Guterres Jeffman <rjeffman at redhat.com> added the comment:

I don't think many users will try to use a boolean positional argument. I only excited this behavior because I was writing an abstraction over argparse to define the command line interface based on a configuration file, and I was trying to add some type checking.

I think documenting the behavior is enough.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41769>
_______________________________________


More information about the Python-bugs-list mailing list