Author serhiy.storchaka
Recipients Austin Bingham, christian.heimes, facundobatista, mark.dickinson, rhettinger, robert_smallshire, serhiy.storchaka, skrah, tim.peters
Date 2018-03-12.19:27:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:16serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, facundobatista, mark.dickinson, christian.heimes, skrah, robert_smallshire, Austin Bingham
2018-03-12 19:27:16serhiy.storchakasetmessageid: <>
2018-03-12 19:27:16serhiy.storchakalinkissue26680 messages
2018-03-12 19:27:16serhiy.storchakacreate