Xiang Zhang added the comment:

I am okay to use PY_SSIZE_T_MIN. But if we are worried about future change of 
PY_SSIZE_T_MIN, seems we also need to change the API doc of PySlice_Unpack(). 
Although _PyEval_SliceIndex's comment says it clips value to -PY_SSIZE_T_MAX-1, 
actually it uses PyNumber_AsSize_t and clips value to PY_SSIZE_T_MIN.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30281>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to