Skip to content

argparse: creating an already defined subparsers does not raises an exception #59061

Description

@eacb
mannequin
BPO 14856
Nosy @bitdancer, @bradengroom, @iritkatriel
PRs
  • bpo-14856: Deprecate using add_parser() to overwrite an existing subparser #10159
  • bpo-14856: Deprecate using add_parser() to overwrite an existing subparser #10159
  • bpo-14856: Deprecate using add_parser() to overwrite an existing subparser #10159
  • Files
  • argparse_no_dup_subparsers.diff
  • 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 = None
    created_at = <Date 2012-05-19.12:27:50.832>
    labels = ['type-feature', 'library', '3.11']
    title = 'argparse: creating an already defined subparsers does not raises an exception'
    updated_at = <Date 2021-12-02.23:11:09.228>
    user = 'https://bugs.python.org/eacb'

    bugs.python.org fields:

    activity = <Date 2021-12-02.23:11:09.228>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-05-19.12:27:50.832>
    creator = 'eacb'
    dependencies = []
    files = ['25637']
    hgrepos = []
    issue_num = 14856
    keywords = ['patch']
    message_count = 5.0
    messages = ['161112', '161359', '166087', '328667', '407555']
    nosy_count = 5.0
    nosy_names = ['bethard', 'r.david.murray', 'eacb', 'bradengroom', 'iritkatriel']
    pr_nums = ['10159', '10159', '10159']
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue14856'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      Status
      Doc issues

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions