Skip to content

argparse: mutually exclusive groups full of help-suppressed args can cause AssertionErrors #62090

@gholms

Description

@gholms
mannequin
BPO 17890
Nosy @terryjreedy, @bitdancer, @vadmium, @iritkatriel
Files
  • argparse-assertfail.py: Test case
  • 7691d1d4b955.diff: gholms repo
  • Issue17890-27.patch: Resolution for Python 2.7 issue17890
  • 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 2013-05-02.00:43:02.387> labels = ['type-bug', 'library'] title = 'argparse: mutually exclusive groups full of help-suppressed args can cause AssertionErrors' updated_at = <Date 2021-12-10.16:06:27.619> user = 'https://bugs.python.org/gholms'

    bugs.python.org fields:

    activity = <Date 2021-12-10.16:06:27.619> actor = 'iritkatriel' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2013-05-02.00:43:02.387> creator = 'gholms' dependencies = [] files = ['30102', '30108', '30110'] hgrepos = ['187'] issue_num = 17890 keywords = ['patch'] message_count = 17.0 messages = ['188250', '188253', '188278', '188291', '188295', '188306', '188337', '188379', '188413', '188984', '189054', '189064', '189065', '189355', '193191', '259189', '408217'] nosy_count = 8.0 nosy_names = ['terry.reedy', 'bethard', 'r.david.murray', 'martin.panter', 'paul.j3', 'Yogesh.Chaudhari', 'gholms', 'iritkatriel'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'patch review' status = 'pending' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue17890' versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Doc issues

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions