Message313681
What is the use case of float.is_integer() at all? I haven't found its usages in large projects on GitHub. Only in playing examples where it is (mis)used in cases like (x/5).is_integer() (x % 5 == 0 is better) or (x**0.5).is_integer() (wrong for some floats or large integers).
Maybe it should be removed in Python 3.0. |
|
Date |
User |
Action |
Args |
2018-03-12 19:27:16 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, rhettinger, facundobatista, mark.dickinson, christian.heimes, skrah, robert_smallshire, Austin Bingham |
2018-03-12 19:27:16 | serhiy.storchaka | set | messageid: <1520882836.61.0.467229070634.issue26680@psf.upfronthosting.co.za> |
2018-03-12 19:27:16 | serhiy.storchaka | link | issue26680 messages |
2018-03-12 19:27:16 | serhiy.storchaka | create | |
|