Author serhiy.storchaka
Recipients Arfrever, amitava.b, benjamin.peterson, josh.r, r.david.murray, serhiy.storchaka, terry.reedy, trent
Date 2019-05-06.14:38:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557153534.25.0.7903204122.issue20092@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-06 14:38:54serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, benjamin.peterson, trent, Arfrever, r.david.murray, josh.r, amitava.b
2019-05-06 14:38:54serhiy.storchakasetmessageid: <1557153534.25.0.7903204122.issue20092@roundup.psfhosted.org>
2019-05-06 14:38:54serhiy.storchakalinkissue20092 messages
2019-05-06 14:38:54serhiy.storchakacreate