[Python-Dev] Bad interaction of __index__ and sequence repeat

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jul 29 05:11:57 CEST 2006


Guido van Rossum wrote:

> In my recollection I tried to avoid this exact behavior. I wanted
> __index__() to just return the unclipped int or long value, but have a
> C API that clipped it for use in slice operations.

So is there still a chance to fix it?

--
Greg


More information about the Python-Dev mailing list