Skip to content

argparse subparsers break without arguments #62089

@SilentGhost

Description

@SilentGhost
BPO 17889
Nosy @bitdancer, @mmaker
Superseder
  • bpo-16308: Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0
  • Files
  • test.py
  • 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 2013-05-01.17:09:47.300>
    created_at = <Date 2013-05-01.14:38:47.707>
    labels = ['type-bug', 'library']
    title = 'argparse subparsers break without arguments'
    updated_at = <Date 2013-05-01.17:09:47.299>
    user = 'https://bugs.python.org/SilentGhost'

    bugs.python.org fields:

    activity = <Date 2013-05-01.17:09:47.299>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-05-01.17:09:47.300>
    closer = 'r.david.murray'
    components = ['Library (Lib)']
    creation = <Date 2013-05-01.14:38:47.707>
    creator = 'SilentGhost'
    dependencies = []
    files = ['30095']
    hgrepos = []
    issue_num = 17889
    keywords = ['3.3regression']
    message_count = 1.0
    messages = ['188228']
    nosy_count = 4.0
    nosy_names = ['bethard', 'r.david.murray', 'SilentGhost', 'maker']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '16308'
    type = 'behavior'
    url = 'https://bugs.python.org/issue17889'
    versions = ['Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard 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