Skip to content

argparse: make new 'required' argument to add_subparsers default to False instead of True #77290

@wm75

Description

@wm75
mannequin
BPO 33109
Nosy @gpshead, @ned-deily, @merwok, @serhiy-storchaka, @wm75, @asottile, @bskinn, @Lucas-C
PRs
  • 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
  • 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 = None
    closed_at = <Date 2018-05-24.02:42:55.614>
    created_at = <Date 2018-03-20.13:41:59.146>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = "argparse: make new 'required' argument to add_subparsers default to False instead of True"
    updated_at = <Date 2021-05-21.07:22:17.993>
    user = 'https://github.com/wm75'

    bugs.python.org fields:

    activity = <Date 2021-05-21.07:22:17.993>
    actor = 'Lucas Cimon'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-05-24.02:42:55.614>
    closer = 'ned.deily'
    components = ['Library (Lib)']
    creation = <Date 2018-03-20.13:41:59.146>
    creator = 'wolma'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33109
    keywords = ['patch']
    message_count = 27.0
    messages = ['314145', '314147', '314148', '314152', '314153', '314156', '316275', '316701', '316720', '316721', '316807', '316858', '316860', '317319', '317321', '317325', '317326', '317329', '317331', '317332', '317499', '317511', '317517', '319264', '319266', '394096', '394097']
    nosy_count = 11.0
    nosy_names = ['gregory.p.smith', 'bethard', 'ned.deily', 'eric.araujo', 'memeplex', 'paul.j3', 'serhiy.storchaka', 'wolma', 'Anthony Sottile', 'bskinn', 'Lucas Cimon']
    pr_nums = ['6919', '7089', '7609', '7610']
    priority = None
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33109'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions