[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-26510: Allow argparse add_subparsers to take `required` kwarg. by asottile · Pull Request #3027 · python/cpython

the-knights-who-say-ni

Merged

Closed

This fixes a regression introduced between python2 and python3.

asottile deleted the issue26510-argparse_subparsers_required branch

September 20, 2017 21:37

Merged

kbuschme added a commit to kbuschme/irony-detection that referenced this pull request

Feb 15, 2018

Merged

smcv mentioned this pull request

Jun 18, 2018

Closed

Closed

Closed

Closed

Merged

Merged

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Oct 7, 2019

Merged

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Oct 7, 2019

Merged

ned-deily pushed a commit to ned-deily/cpython that referenced this pull request

Oct 14, 2019

jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request

Dec 5, 2019

tsondergaard added a commit to tsondergaard/DefinitelyTyped that referenced this pull request

Jul 6, 2021
The required option was added in python 3.7.0a2 as a way to make
subparsers required again (the default behaviour in Python 2.7).

* https://bugs.python.org/issue9253
* python/cpython#3027

Since npm argparse 2.0.1 is a straight conversion of the Python
3.9.0rc1 version of argparse the required flag is valid here too.

Merged

8 tasks

typescript-bot pushed a commit to DefinitelyTyped/DefinitelyTyped that referenced this pull request

Jul 6, 2021
… by @tsondergaard

The required option was added in python 3.7.0a2 as a way to make
subparsers required again (the default behaviour in Python 2.7).

* https://bugs.python.org/issue9253
* python/cpython#3027

Since npm argparse 2.0.1 is a straight conversion of the Python
3.9.0rc1 version of argparse the required flag is valid here too.

sanjaysrikakulam added a commit to sanjaysrikakulam/usegalaxy-eu_infrastructure-playbook that referenced this pull request

Mar 8, 2023

Merged

Draft