Ethan Furman added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19995>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to