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 remi.lapeyre
Recipients AVINASH MISHRA, jdemeyer, remi.lapeyre
Date 2019-01-10.16:15:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547136900.82.0.27254617699.issue35707@roundup.psfhosted.org>
In-reply-to
Content
time.sleep() is probably not the only function to have such a bug.

Maybe __int__() should default to:

    def __int__(self):
        return int(self.__float__())

when __float__ is defined and not __int__.

Nick Coghlan suggested something similar for __int__ and __index__.
History
Date User Action Args
2019-01-10 16:15:02remi.lapeyresetrecipients: + remi.lapeyre, jdemeyer, AVINASH MISHRA
2019-01-10 16:15:00remi.lapeyresetmessageid: <1547136900.82.0.27254617699.issue35707@roundup.psfhosted.org>
2019-01-10 16:15:00remi.lapeyrelinkissue35707 messages
2019-01-10 16:15:00remi.lapeyrecreate