Jeroen Demeyer added the comment:

I would still argue that it's a bug. The intention of PEP 357 is that __index__ 
should be used whenever some object needs to be converted to a Py_ssize_t, 
which is exactly what you do here.

----------

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

Reply via email to