Skip to content

argparse: Problem with defaults for variable nargs when using choices #53834

@thesociable

Description

@thesociable
BPO 9625
Nosy @rhettinger, @macfreek, @ericvsmith, @merwok, @cedk, @berkerpeksag, @lanzz, @jameshcorbett, @zumoshi
Files
  • issue9625.diff
  • issue9625.patch
  • issue9625_1.patch
  • issue9625_2.patch
  • notes.txt
  • 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 2010-08-17.09:19:03.116> labels = ['type-bug', 'library', '3.9'] title = 'argparse: Problem with defaults for variable nargs when using choices' updated_at = <Date 2020-12-21.23:36:46.142> user = 'https://bugs.python.org/thesociable'

    bugs.python.org fields:

    activity = <Date 2020-12-21.23:36:46.142> actor = 'rhettinger' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2010-08-17.09:19:03.116> creator = 'thesociable' dependencies = [] files = ['26471', '27858', '30709', '30762', '35128'] hgrepos = [] issue_num = 9625 keywords = ['patch'] message_count = 17.0 messages = ['114108', '151780', '151807', '151857', '166086', '174642', '191224', '191932', '192258', '192716', '217677', '285865', '347742', '356859', '357064', '374581', '374592'] nosy_count = 16.0 nosy_names = ['rhettinger', 'bethard', 'macfreek', 'eric.smith', 'eric.araujo', 'ced', 'Sworddragon', 'thesociable', 'regis', 'berker.peksag', 'paul.j3', 'sebix', 'lanzz', 'Jan Huta\xc5\x99', 'jameshcorbett', 'zumoshi'] pr_nums = [] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue9625' versions = ['Python 3.9']

    Linked PRs

    Metadata

    Metadata

    Labels

    3.14bugs and security fixesstdlibStandard 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