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 ethan.furman
Recipients eric.smith, ethan.furman, gvanrossum, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, vstinner
Date 2013-12-16.20:20:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Eric V. Smith commented:
> If you were going to make this change, I'd think you'd have to look
> for __index__ and then __int__.

Does the order matter?  Are there any types (and should there be) that would have both and return different answers for each?

If not, pick an order, try one and, if that one fails, try the other.
Date User Action Args
2013-12-16 20:20:58ethan.furmansetrecipients: + ethan.furman, gvanrossum, rhettinger, mark.dickinson, pitrou, vstinner, eric.smith, skrah, serhiy.storchaka
2013-12-16 20:20:58ethan.furmansetmessageid: <>
2013-12-16 20:20:58ethan.furmanlinkissue19995 messages
2013-12-16 20:20:57ethan.furmancreate