This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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:54serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, benjamin.peterson, trent, Arfrever, r.david.murray, josh.r, amitava.b
2019-05-06 14:38:54serhiy.storchakasetmessageid: <>
2019-05-06 14:38:54serhiy.storchakalinkissue20092 messages
2019-05-06 14:38:54serhiy.storchakacreate