Rafael Guterres Jeffman <rjeff...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue41769>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to