Message333416
> 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:50 | jdemeyer | set | recipients:
+ jdemeyer, ncoghlan, vstinner, remi.lapeyre, AVINASH MISHRA |
2019-01-10 20:07:49 | jdemeyer | set | messageid: <1547150869.58.0.0653812102776.issue35707@roundup.psfhosted.org> |
2019-01-10 20:07:49 | jdemeyer | link | issue35707 messages |
2019-01-10 20:07:49 | jdemeyer | create | |
|