[issue38629] float is missing __ceil__() and __floor__(), required by numbers.Real

Mark Dickinson report at bugs.python.org
Tue Oct 29 16:24:55 EDT 2019


Mark Dickinson <dickinsm at gmail.com> added the comment:

> If float.__ceil__ will be executed it will add significant overhead for creating and executing the method object.

Yes, I'd definitely like to see timings; I think Victor already asked for those on the PR.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38629>
_______________________________________


More information about the Python-bugs-list mailing list