This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Austin Bingham, christian.heimes, facundobatista, mark.dickinson, rhettinger, robert_smallshire, serhiy.storchaka, skrah, tim.peters
Date 2018-03-15.12:06:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521115594.22.0.467229070634.issue26680@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-03-15 12:06:34serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, facundobatista, mark.dickinson, christian.heimes, skrah, robert_smallshire, Austin Bingham
2018-03-15 12:06:34serhiy.storchakasetmessageid: <1521115594.22.0.467229070634.issue26680@psf.upfronthosting.co.za>
2018-03-15 12:06:34serhiy.storchakalinkissue26680 messages
2018-03-15 12:06:34serhiy.storchakacreate