Skip to content

argparse - subparsers does not retain namespace #72046

@nickpapior

Description

@nickpapior
BPO 27859
Nosy @ericvw, @Mariatta
Superseder
  • bpo-9351: argparse set_defaults on subcommands should override top level set_defaults
  • Files
  • argparse_subspacenamespace.py: Example showing the crash of the argparse failure.
  • issue27859test.py
  • 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 2016-10-06.15:46:59.301>
    created_at = <Date 2016-08-25.15:02:10.526>
    labels = ['type-feature', 'library']
    title = 'argparse - subparsers does not retain namespace'
    updated_at = <Date 2016-10-06.15:46:59.300>
    user = 'https://bugs.python.org/nickpapior'

    bugs.python.org fields:

    activity = <Date 2016-10-06.15:46:59.300>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-10-06.15:46:59.301>
    closer = 'ned.deily'
    components = ['Library (Lib)']
    creation = <Date 2016-08-25.15:02:10.526>
    creator = 'nickpapior'
    dependencies = []
    files = ['44222', '44363']
    hgrepos = []
    issue_num = 27859
    keywords = []
    message_count = 5.0
    messages = ['273654', '274337', '274368', '277936', '278173']
    nosy_count = 4.0
    nosy_names = ['ericvw', 'paul.j3', 'nickpapior', 'Mariatta']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '9351'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue27859'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard 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