Message334136
> In other words: if we can only use __float__ and __int__, how do we know which one to use?
I guess __index__. I've read the definition of object.__index__ in the data model documentation, and using __index__ for this conversion is fine. I need to educate my sense for when it's right to use this method...
Sorry about the noise. |
|
Date |
User |
Action |
Args |
2019-01-21 13:27:14 | ronaldoussoren | set | recipients:
+ ronaldoussoren, ncoghlan, vstinner, serhiy.storchaka, jdemeyer, remi.lapeyre, AVINASH MISHRA |
2019-01-21 13:27:13 | ronaldoussoren | set | messageid: <1548077233.34.0.30519744952.issue35707@roundup.psfhosted.org> |
2019-01-21 13:27:13 | ronaldoussoren | link | issue35707 messages |
2019-01-21 13:27:13 | ronaldoussoren | create | |
|