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, mark.dickinson, rhettinger, robert_smallshire, serhiy.storchaka, tim.peters
Date 2018-03-15.18:33:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521138812.16.0.467229070634.issue26680@psf.upfronthosting.co.za>
In-reply-to
Content
I am proposing to deprecate float.is_integer() and remove it in 3.10. After deprecating float.as_integer() we shouldn't bother about adding int.is_integer().

If this method is necessary in implementing various math libraries please show me the code of these libraries that call float.is_integer() or which will get a benefit from adding is_integer() in int and Decimal.
History
Date User Action Args
2018-03-15 18:33:32serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, christian.heimes, robert_smallshire, Austin Bingham
2018-03-15 18:33:32serhiy.storchakasetmessageid: <1521138812.16.0.467229070634.issue26680@psf.upfronthosting.co.za>
2018-03-15 18:33:32serhiy.storchakalinkissue26680 messages
2018-03-15 18:33:32serhiy.storchakacreate