Message341509
See also the discussion on the duplicated issue33039.
Few months ago I wrote the PR that makes constructors of int, float and complex to fall back to __index__ if corresponding special methods __int__, __float__ and __complex__ are not defined. I did not exposed it to public because binding __int__ to __index__ looks better to me. But perhaps some tests from that PR can be used in an alternate PR. |
|
Date |
User |
Action |
Args |
2019-05-06 14:38:54 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, benjamin.peterson, trent, Arfrever, r.david.murray, josh.r, amitava.b |
2019-05-06 14:38:54 | serhiy.storchaka | set | messageid: <1557153534.25.0.7903204122.issue20092@roundup.psfhosted.org> |
2019-05-06 14:38:54 | serhiy.storchaka | link | issue20092 messages |
2019-05-06 14:38:54 | serhiy.storchaka | create | |
|