Serhiy Storchaka added the comment:

> > Did I mention __index__ is an unfortunate name for the current trend for
> > this method?
> Yes, but it's probably too late to change that now.  Also, a fully precise
> name would be something like:
> 
>   __to_int_exact_iff_object_has_integer_nature__ :)

Perhaps in future (may be in 4.0) __index__ should be renamed to __int__ and 
__int__ to __trunc__.

----------

_______________________________________
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