Skip to content

round(25, 1) should return an integer, not a float #48957

@dingo

Description

@dingo
mannequin
BPO 4707
Nosy @gvanrossum, @loewis, @rhettinger, @mdickinson, @orsenthil, @vstinner, @giampaolo, @devdanzin
Files
  • round_int_int5.patch
  • 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 2009-01-28.21:47:27.401>
    created_at = <Date 2008-12-20.16:42:35.503>
    labels = ['interpreter-core', 'type-bug', 'release-blocker']
    title = 'round(25, 1) should return an integer, not a float'
    updated_at = <Date 2009-01-28.21:47:27.358>
    user = 'https://bugs.python.org/dingo'

    bugs.python.org fields:

    activity = <Date 2009-01-28.21:47:27.358>
    actor = 'mark.dickinson'
    assignee = 'mark.dickinson'
    closed = True
    closed_date = <Date 2009-01-28.21:47:27.401>
    closer = 'mark.dickinson'
    components = ['Interpreter Core']
    creation = <Date 2008-12-20.16:42:35.503>
    creator = 'dingo'
    dependencies = []
    files = ['12865']
    hgrepos = []
    issue_num = 4707
    keywords = ['patch']
    message_count = 39.0
    messages = ['78113', '78114', '78115', '78117', '78118', '78119', '78120', '78121', '78123', '78124', '78125', '78126', '78132', '78133', '78134', '78135', '78141', '78142', '78145', '78146', '78147', '78148', '78149', '78150', '79400', '80565', '80566', '80673', '80684', '80693', '80694', '80695', '80696', '80697', '80700', '80701', '80702', '80703', '80727']
    nosy_count = 11.0
    nosy_names = ['gvanrossum', 'loewis', 'rhettinger', 'mark.dickinson', 'orsenthil', 'vstinner', 'giampaolo.rodola', 'ajaksu2', 'jyasskin', 'LambertDW', 'dingo']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'accepted'
    stage = 'commit review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4707'
    versions = ['Python 3.0', 'Python 3.1']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)release-blockertype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions