In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_M… · pythoncapi/cpython@e6fc740 · GitHub
Skip to content

Commit e6fc740

Browse files
committed
In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX].
1 parent af5ac39 commit e6fc740

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 4 additions & 0 deletions

Objects/sliceobject.c

Lines changed: 9 additions & 1 deletion

0 commit comments

Comments
 (0)