Eli Bendersky added the comment:

I also think that exchanging the explicit type checks by __index__ merits more 
thought and is outside the scope of this local fix. The proposed patch does not 
add any new type checks, but acts within the bounds of code for which the type 
is already established.

----------

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

Reply via email to