Message293116
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. |
|
Date |
User |
Action |
Args |
2017-05-05 16:02:36 | xiang.zhang | set | recipients:
+ xiang.zhang, mark.dickinson, vstinner, serhiy.storchaka |
2017-05-05 16:02:36 | xiang.zhang | set | messageid: <1494000156.42.0.327515615256.issue30281@psf.upfronthosting.co.za> |
2017-05-05 16:02:36 | xiang.zhang | link | issue30281 messages |
2017-05-05 16:02:36 | xiang.zhang | create | |
|