[issue18712] Pure Python operator.index doesn't match the C version.

Serhiy Storchaka report at bugs.python.org
Sat Aug 17 21:22:04 CEST 2013


Serhiy Storchaka added the comment:

Here is updated patch which uses Armin's algorithm for lookup special methods and adds special case for int subclasses in index().

I have no idea how the documentation should look.

----------
Added file: http://bugs.python.org/file31344/operator_index_3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18712>
_______________________________________


More information about the Python-bugs-list mailing list