Skip to content

argparse only supports iterable choices#60672

@cjerdonek

Description

@cjerdonek
BPO16468
Nosy@rhettinger, @terryjreedy, @bitdancer, @cjerdonek, @berkerpeksag, @nanjekyejoannah
PRs
  • bpo-16468: Clarify which objects can be passed to "choices" in argparse #15566
  • [3.8] bpo-16468: Clarify which objects can be passed to "choices" in argparse (GH-15566) #15587
  • Files
  • issue-16468-1.patch
  • issue-16468-2.patch
  • issue-16468-3.patch
  • issue-16468-4.patch
  • choice2.patch
  • 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='https://github.com/rhettinger'closed_at=<Date2019-08-29.07:59:11.924>created_at=<Date2012-11-14.04:32:19.512>labels= ['easy', '3.8', 'type-bug', 'library', '3.9'] title='argparse only supports iterable choices'updated_at=<Date2019-08-29.08:15:24.135>user='https://github.com/cjerdonek'

    bugs.python.org fields:

    activity=<Date2019-08-29.08:15:24.135>actor='rhettinger'assignee='rhettinger'closed=Trueclosed_date=<Date2019-08-29.07:59:11.924>closer='rhettinger'components= ['Library (Lib)'] creation=<Date2012-11-14.04:32:19.512>creator='chris.jerdonek'dependencies= [] files= ['28731', '28734', '28735', '28765', '30872'] hgrepos= [] issue_num=16468keywords= ['patch', 'newcomer friendly'] message_count=34.0messages= ['175534', '175574', '175584', '180007', '180009', '180010', '180021', '180023', '180024', '180032', '180049', '180052', '180053', '180067', '180071', '180075', '180168', '180169', '180186', '180191', '180710', '180720', '192110', '192273', '192714', '193190', '349914', '349915', '349924', '349928', '349930', '349934', '350748', '350753'] nosy_count=12.0nosy_names= ['rhettinger', 'terry.reedy', 'bethard', 'r.david.murray', 'chris.jerdonek', 'BrenBarn', 'berker.peksag', 'paul.j3', 'hashimo', 'Radu.Ciorba', 'sebix', 'nanjekyejoannah'] pr_nums= ['15566', '15587'] priority='normal'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype='behavior'url='https://bugs.python.org/issue16468'versions= ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.8 (EOL)end of life3.9 (EOL)end of lifeeasystdlibStandard 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