Skip to content

float is missing __ceil__() and __floor__(), required by numbers.Real #82810

Description

@bluetech
mannequin
BPO 38629
Nosy @mdickinson, @vstinner, @serhiy-storchaka, @vedgar, @isidentical, @bluetech
PRs
  • bpo-38629: implement __floor__ and __ceil__ for float #16985
  • 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 2019-12-15.22:01:27.781>
    created_at = <Date 2019-10-29.10:18:17.895>
    labels = ['interpreter-core', 'type-bug', 'library', '3.9']
    title = 'float is missing __ceil__() and __floor__(), required by numbers.Real'
    updated_at = <Date 2019-12-15.22:01:27.774>
    user = 'https://github.com/bluetech'

    bugs.python.org fields:

    activity = <Date 2019-12-15.22:01:27.774>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-12-15.22:01:27.781>
    closer = 'vstinner'
    components = ['Interpreter Core', 'Library (Lib)']
    creation = <Date 2019-10-29.10:18:17.895>
    creator = 'bluetech'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38629
    keywords = ['patch']
    message_count = 11.0
    messages = ['355642', '355648', '355650', '355668', '355670', '355673', '355675', '355722', '355744', '358452', '358453']
    nosy_count = 6.0
    nosy_names = ['mark.dickinson', 'vstinner', 'serhiy.storchaka', 'veky', 'BTaskaya', 'bluetech']
    pr_nums = ['16985']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38629'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)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