[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

Ned Deily report at bugs.python.org
Wed May 16 16:06:06 EDT 2018


Ned Deily <nad at python.org> added the comment:

Several of the core developers here at the PyCon US sprints in Cleveland have discussed this issue.  It seems like there legitimate arguments for either behavior.  But, while none of us are argparse experts, we all were persuaded by Wolfgang's and Brian's arguments that preserving compatibility with 3.6 (and recent earlier 3.x releases) should be given more weight than attempting to restore 2.7 behavior at this point.  We specifically did not get into the finer points of argparse behavior and any other proposed argparse change.

Unless someone comes up with a more persuasive argument, I intend to merge this change for 3.7.0rc1 in a few days.

----------
stage: patch review -> commit review

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


More information about the Python-bugs-list mailing list