[issue31956] Add start and stop parameters to the array.index()

STINNER Victor report at bugs.python.org
Mon Nov 13 03:34:00 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

Anders Lorentsen: Py_ssize_t is the correct type for an index in the C language. It's not technically possible to create an array object larger than PY_SSIZE_T_MAX items :-)

Serhiy> Just take list.index as an example.

I concur with Serhiy :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31956>
_______________________________________


More information about the Python-bugs-list mailing list