Skip to content

numbers.Rational implements __float__ incorrectly #68163

Closed
@wm75

Description

@wm75
mannequin
BPO 23975
Nosy @pfmoore, @mdickinson, @wm75, @skirpichev
PRs
  • bpo-23975: Correct conversion of Rational’s to float #25619
  • Files
  • Rational.float.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 = None
    closed_at = None
    created_at = <Date 2015-04-16.20:06:57.803>
    labels = ['type-bug', 'library']
    title = 'numbers.Rational implements __float__ incorrectly'
    updated_at = <Date 2021-04-26.04:22:28.952>
    user = 'https://github.com/wm75'

    bugs.python.org fields:

    activity = <Date 2021-04-26.04:22:28.952>
    actor = 'Sergey.Kirpichev'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-04-16.20:06:57.803>
    creator = 'wolma'
    dependencies = []
    files = ['39217']
    hgrepos = []
    issue_num = 23975
    keywords = ['patch']
    message_count = 7.0
    messages = ['241270', '241340', '241636', '241637', '241638', '241639', '242113']
    nosy_count = 4.0
    nosy_names = ['paul.moore', 'mark.dickinson', 'wolma', 'Sergey.Kirpichev']
    pr_nums = ['25619']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23975'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions