[issue18842] Add float.is_finite is_nan is_infinite to match Decimal methods
Steven D'Aprano
report at bugs.python.org
Sun Nov 17 08:14:10 CET 2013
Steven D'Aprano added the comment:
On Sat, Nov 16, 2013 at 04:33:36PM +0000, Serhiy Storchaka wrote:
>
> Should we add these methods to other concrete Number subclasses (as Fraction and complex)?
Seems like a good idea to me. Is it worth making them part of the Number
ABC, or is that too much of a change?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18842>
_______________________________________
More information about the Python-bugs-list
mailing list