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

Serhiy Storchaka report at bugs.python.org
Tue Oct 29 14:48:02 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

If float.__ceil__ is only needed for typeshed, maybe add a special case for typeshed?

I have doubts about adding a C code which is never even executed.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list