Skip to content

float arguments in scientific notation not supported by argparse #66862

@jnespolo

Description

@jnespolo
mannequin
BPO 22672
Nosy @terryjreedy, @bitdancer
Superseder
  • bpo-9334: argparse does not accept options taking arguments beginning with dash (regression from optparse)
  • Files
  • argparse.patch: patch to be applied on argparse.py
  • argparse.patch: patch v2
  • test_argparse.py: test program
  • 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 2015-03-27.20:52:03.836>
    created_at = <Date 2014-10-19.18:10:15.715>
    labels = ['type-feature', 'library']
    title = 'float arguments in scientific notation not supported by argparse'
    updated_at = <Date 2015-03-28.11:51:22.375>
    user = 'https://bugs.python.org/jnespolo'

    bugs.python.org fields:

    activity = <Date 2015-03-28.11:51:22.375>
    actor = 'abacabadabacaba'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-03-27.20:52:03.836>
    closer = 'paul.j3'
    components = ['Library (Lib)']
    creation = <Date 2014-10-19.18:10:15.715>
    creator = 'jnespolo'
    dependencies = []
    files = ['36972', '37007', '37008']
    hgrepos = []
    issue_num = 22672
    keywords = ['patch']
    message_count = 9.0
    messages = ['229689', '229958', '229959', '229960', '229985', '229990', '230018', '230172', '239436']
    nosy_count = 6.0
    nosy_names = ['terry.reedy', 'bethard', 'r.david.murray', 'abacabadabacaba', 'paul.j3', 'jnespolo']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '9334'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue22672'
    versions = ['Python 3.4', 'Python 3.5']

    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