Author jdemeyer
Recipients AVINASH MISHRA, jdemeyer, ncoghlan, remi.lapeyre, vstinner
Date 2019-01-10.20:07:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I'm not sure in which order the conversion should be tried to avoid/reduce precision loss during the conversion.

I would suggest the order

1. __index__ to ensure exact conversion of exact integers
2. __float__ to ensure correct conversion of floating-point numbers
3. __int__
Date User Action Args
2019-01-10 20:07:50jdemeyersetrecipients: + jdemeyer, ncoghlan, vstinner, remi.lapeyre, AVINASH MISHRA
2019-01-10 20:07:49jdemeyersetmessageid: <>
2019-01-10 20:07:49jdemeyerlinkissue35707 messages
2019-01-10 20:07:49jdemeyercreate