[issue21856] memoryview: test slick clamping

Stefan Krah report at bugs.python.org
Sat Jun 28 14:38:47 CEST 2014


Stefan Krah added the comment:

And Terry is right, the actual slice clamping happens in
PySlice_GetIndicesEx(), which should always produce values
that are in the correct range.  Hence the tests focus on
slices that already are in the correct range.

I'm not sure if PySlice_GetIndicesEx() itself has tests somewhere.

----------

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


More information about the Python-bugs-list mailing list