Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: If float.is_integer() is useful in numerical code please give me few examples.
I don't take your argument about mpd_as_integer() in the Decimal class. Decimal has a lot of methods which makes sense for Decimal. >>> len(set(dir(decimal.Decimal)) - set(dir(numbers.Rational))) 55 Do you suggests to add all of them into the numeric tower? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue26680> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com