Message313878
mpd_as_integer() is used internally in the Decimal class. Do you have use cases for it outside of the Decimal class?
And the question was about using float.is_integer(). I have not found *any* sane example on GitHub. The most harmless is just a demo
>>> x = 3.0
>>> print(x.is_integer())
True
Other examples are so bad that make me angry. |
|
Date |
User |
Action |
Args |
2018-03-15 12:06:34 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, rhettinger, facundobatista, mark.dickinson, christian.heimes, skrah, robert_smallshire, Austin Bingham |
2018-03-15 12:06:34 | serhiy.storchaka | set | messageid: <1521115594.22.0.467229070634.issue26680@psf.upfronthosting.co.za> |
2018-03-15 12:06:34 | serhiy.storchaka | link | issue26680 messages |
2018-03-15 12:06:34 | serhiy.storchaka | create | |
|