Skip to content

[argparse] Add required argument to add_subparsers #70697

Closed
@memeplex

Description

@memeplex
mannequin
BPO 26510
Nosy @ned-deily, @merwok, @asottile, @miss-islington
PRs
  • bpo-26510: Allow argparse add_subparsers to take required kwarg. #3027
  • bpo-33109: argparse subparsers are once again not required by default #6919
  • [3.7] bpo-33109: argparse subparsers are once again not required by default (GH-6919) #7089
  • bpo-33109: Remove now-obsolete What's New entry for bpo-26510. #7609
  • [3.7] bpo-33109: Remove now-obsolete What's New entry for bpo-26510. (GH-7609) #7610
  • bpo-26510: Add versionchanged for required arg of add_subparsers #16588
  • [3.8] bpo-26510: Add versionchanged for required arg of add_subparsers (GH-16588) #16608
  • [3.7] bpo-26510: Add versionchanged for required arg of add_subparsers (GH-16588) #16609
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/merwok'
    closed_at = <Date 2017-09-20.21:36:42.299>
    created_at = <Date 2016-03-08.13:56:01.475>
    labels = ['3.7', 'type-feature', 'library']
    title = '[argparse] Add required argument to add_subparsers'
    updated_at = <Date 2019-10-15.07:30:26.268>
    user = 'https://bugs.python.org/memeplex'

    bugs.python.org fields:

    activity = <Date 2019-10-15.07:30:26.268>
    actor = 'ned.deily'
    assignee = 'eric.araujo'
    closed = True
    closed_date = <Date 2017-09-20.21:36:42.299>
    closer = 'eric.araujo'
    components = ['Library (Lib)']
    creation = <Date 2016-03-08.13:56:01.475>
    creator = 'memeplex'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 26510
    keywords = []
    message_count = 12.0
    messages = ['261358', '261535', '300282', '302660', '317500', '317512', '319265', '319267', '354060', '354061', '354062', '354700']
    nosy_count = 7.0
    nosy_names = ['bethard', 'ned.deily', 'eric.araujo', 'memeplex', 'paul.j3', 'Anthony Sottile', 'miss-islington']
    pr_nums = ['3027', '6919', '7089', '7609', '7610', '16588', '16608', '16609']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue26510'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifestdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions