Skip to content

argparse: aliases for positional arguments (subparsers) #53480

@asampson

Description

@asampson
mannequin
BPO 9234
Nosy @birkenfeld, @rhettinger, @merwok, @ambv
Files
  • aliases.py: example creating subparsers with aliases
  • argparse-aliases.patch: patch version of the above
  • argparse-aliases.patch: patch including a few tests
  • argparse-aliases.patch: patch including a space and documentation
  • argparse-aliases.patch: patch modifying correct parameter ("metavar")
  • 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 2010-12-18.11:26:22.916>
    created_at = <Date 2010-07-12.20:09:01.994>
    labels = ['type-feature', 'library', 'release-blocker']
    title = 'argparse: aliases for positional arguments (subparsers)'
    updated_at = <Date 2010-12-18.11:26:22.915>
    user = 'https://bugs.python.org/asampson'

    bugs.python.org fields:

    activity = <Date 2010-12-18.11:26:22.915>
    actor = 'bethard'
    assignee = 'bethard'
    closed = True
    closed_date = <Date 2010-12-18.11:26:22.916>
    closer = 'bethard'
    components = ['Library (Lib)']
    creation = <Date 2010-07-12.20:09:01.994>
    creator = 'asampson'
    dependencies = []
    files = ['17971', '20026', '20034', '20073', '20101']
    hgrepos = []
    issue_num = 9234
    keywords = ['patch']
    message_count = 17.0
    messages = ['110130', '122627', '123858', '123866', '123881', '123911', '123913', '124094', '124095', '124096', '124114', '124215', '124216', '124265', '124278', '124280', '124281']
    nosy_count = 6.0
    nosy_names = ['georg.brandl', 'rhettinger', 'bethard', 'eric.araujo', 'asampson', 'lukasz.langa']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue9234'
    versions = ['Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      release-blockerstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions