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 eric.smith, ethan.furman, gvanrossum, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, vstinner
Date 2013-12-16.17:16:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <4420492.PjgdSlPve1@raxxla>
In-reply-to <20131216161756.GA12598@sleipnir.bytereef.org>
Content
> > 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__.
History
Date User Action Args
2013-12-16 17:16:13serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, rhettinger, mark.dickinson, pitrou, vstinner, eric.smith, skrah, ethan.furman
2013-12-16 17:16:13serhiy.storchakalinkissue19995 messages
2013-12-16 17:16:13serhiy.storchakacreate