[issue21856] memoryview: no overflow on large slice values (start, stop, step)

Stefan Krah report at bugs.python.org
Tue Jun 24 20:20:15 CEST 2014


Stefan Krah added the comment:

Victor, shall we close this?  The behavior is basically as specified:

"The slice of s from i to j is defined as the sequence of items with index k such that i <= k < j. If i or j is greater than len(s), use len(s). If i is omitted or None, use 0. If j is omitted or None, use len(s). If i is greater than or equal to j, the slice is empty."

----------

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


More information about the Python-bugs-list mailing list