Message293098
I'm not sure that -PY_SSIZE_T_MAX-1 always is representable. I would use PY_SSIZE_T_MIN and add a static assert (Py_BUILD_ASSERT) that PY_SSIZE_T_MIN + 1 <= -PY_SSIZE_T_MAX. Actually currently PY_SSIZE_T_MIN is -PY_SSIZE_T_MAX-1 by definition, but this can be changed in future. |
|
Date |
User |
Action |
Args |
2017-05-05 10:56:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, xiang.zhang |
2017-05-05 10:56:04 | serhiy.storchaka | set | messageid: <1493981764.62.0.859972414639.issue30281@psf.upfronthosting.co.za> |
2017-05-05 10:56:04 | serhiy.storchaka | link | issue30281 messages |
2017-05-05 10:56:04 | serhiy.storchaka | create | |
|