Skip to content

float.__format__() handles trailing zeros inconsistently in “general” format #84957

@davidchambers

Description

@davidchambers
BPO 40780
Nosy @rhettinger, @mdickinson, @ericvsmith, @davidchambers, @miss-islington
PRs
  • bpo-40780: Fix failure of _Py_dg_dtoa to remove trailing zeros #20435
  • [3.9] bpo-40780: Fix failure of _Py_dg_dtoa to remove trailing zeros (GH-20435) #20514
  • 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/mdickinson'
    closed_at = <Date 2020-05-29.13:48:02.325>
    created_at = <Date 2020-05-26.14:15:19.529>
    labels = ['type-bug', '3.9', '3.10']
    title = 'float.__format__() handles trailing zeros inconsistently in \xe2\x80\x9cgeneral\xe2\x80\x9d format'
    updated_at = <Date 2020-05-29.13:48:02.324>
    user = 'https://github.com/davidchambers'

    bugs.python.org fields:

    activity = <Date 2020-05-29.13:48:02.324>
    actor = 'mark.dickinson'
    assignee = 'mark.dickinson'
    closed = True
    closed_date = <Date 2020-05-29.13:48:02.325>
    closer = 'mark.dickinson'
    components = []
    creation = <Date 2020-05-26.14:15:19.529>
    creator = 'davidchambers'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40780
    keywords = ['patch']
    message_count = 13.0
    messages = ['369983', '369996', '370002', '370006', '370009', '370012', '370021', '370025', '370026', '370133', '370309', '370312', '370313']
    nosy_count = 5.0
    nosy_names = ['rhettinger', 'mark.dickinson', 'eric.smith', 'davidchambers', 'miss-islington']
    pr_nums = ['20435', '20514']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40780'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.9 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions