[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True
Anthony Sottile
report at bugs.python.org
Wed May 16 16:12:41 EDT 2018
Anthony Sottile <asottile at umich.edu> added the comment:
Considering the huge popularity of these SO questions, I don't think this should be reverted:
- https://stackoverflow.com/questions/23349349/argparse-with-required-subparser
- https://stackoverflow.com/questions/22990977/why-does-this-argparse-code-behave-differently-between-python-2-and-3
See also: the confusion caused by the 3.3 change: https://bugs.python.org/issue9253
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33109>
_______________________________________
More information about the Python-bugs-list
mailing list