Author jdemeyer
Recipients AVINASH MISHRA, jdemeyer, ncoghlan, remi.lapeyre, serhiy.storchaka, vstinner
Date 2019-01-13.12:53:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547384024.3.0.0843122369438.issue35707@roundup.psfhosted.org>
In-reply-to
Content
> The correct code works for float and int (and maybe decimal.Decimal, I don't recall!)

Not for Decimal! In fact sleep(Decimal("0.99")) is interpreted as sleep(0) because __int__ is used to convert.
History
Date User Action Args
2019-01-13 12:53:46jdemeyersetrecipients: + jdemeyer, ncoghlan, vstinner, serhiy.storchaka, remi.lapeyre, AVINASH MISHRA
2019-01-13 12:53:44jdemeyersetmessageid: <1547384024.3.0.0843122369438.issue35707@roundup.psfhosted.org>
2019-01-13 12:53:44jdemeyerlinkissue35707 messages
2019-01-13 12:53:44jdemeyercreate