Skip to content

argparse add_argument() confusing behavior when type=str, default= #60110

@warsaw

Description

@warsaw
BPO 15906
Nosy @warsaw, @birkenfeld, @benjaminp, @bitdancer, @cjerdonek
Files
  • 15906-1.diff
  • 15906-3.diff
  • 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 2012-09-12.19:39:15.318>
    created_at = <Date 2012-09-10.16:35:12.347>
    labels = ['deferred-blocker']
    title = 'argparse add_argument() confusing behavior when type=str, default='
    updated_at = <Date 2012-09-12.21:27:24.381>
    user = 'https://github.com/warsaw'

    bugs.python.org fields:

    activity = <Date 2012-09-12.21:27:24.381>
    actor = 'chris.jerdonek'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-09-12.19:39:15.318>
    closer = 'barry'
    components = []
    creation = <Date 2012-09-10.16:35:12.347>
    creator = 'barry'
    dependencies = []
    files = ['27176', '27180']
    hgrepos = []
    issue_num = 15906
    keywords = ['patch']
    message_count = 42.0
    messages = ['170202', '170203', '170205', '170206', '170209', '170210', '170312', '170322', '170324', '170329', '170332', '170340', '170342', '170343', '170350', '170351', '170365', '170366', '170368', '170372', '170378', '170379', '170382', '170385', '170386', '170387', '170388', '170390', '170391', '170392', '170393', '170395', '170399', '170404', '170405', '170407', '170413', '170415', '170417', '170418', '170419', '170422']
    nosy_count = 9.0
    nosy_names = ['barry', 'georg.brandl', 'bethard', 'benjamin.peterson', 'Arfrever', 'r.david.murray', 'chris.jerdonek', 'arnau', 'python-dev']
    pr_nums = []
    priority = 'deferred blocker'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue15906'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions