[issue26680] Incorporating float.is_integer into the numeric tower and Decimal
Serhiy Storchaka
report at bugs.python.org
Thu Mar 15 14:33:32 EDT 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
I am proposing to deprecate float.is_integer() and remove it in 3.10. After deprecating float.as_integer() we shouldn't bother about adding int.is_integer().
If this method is necessary in implementing various math libraries please show me the code of these libraries that call float.is_integer() or which will get a benefit from adding is_integer() in int and Decimal.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26680>
_______________________________________
More information about the Python-bugs-list
mailing list