Skip to content

min() working incorrectly for decimal and float values #51978

@UmitOztosun

Description

@UmitOztosun
BPO 7729
Nosy @mdickinson, @ezio-melotti
Superseder
  • bpo-2531: float compared to decimal is silently incorrect.
  • 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 2010-01-18.08:41:58.187>
    created_at = <Date 2010-01-18.08:34:37.270>
    labels = ['type-bug', 'library']
    title = 'min() working incorrectly for decimal and float values'
    updated_at = <Date 2010-01-18.09:20:10.650>
    user = 'https://bugs.python.org/UmitOztosun'

    bugs.python.org fields:

    activity = <Date 2010-01-18.09:20:10.650>
    actor = 'flox'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-01-18.08:41:58.187>
    closer = 'ezio.melotti'
    components = ['Library (Lib)']
    creation = <Date 2010-01-18.08:34:37.270>
    creator = 'Umit.Oztosun'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 7729
    keywords = []
    message_count = 2.0
    messages = ['97991', '97992']
    nosy_count = 3.0
    nosy_names = ['mark.dickinson', 'ezio.melotti', 'Umit.Oztosun']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '2531'
    type = 'behavior'
    url = 'https://bugs.python.org/issue7729'
    versions = ['Python 2.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions