Message327705
If I understand the code right, "PY_SSIZE_T_MAX/sizeof(Py_UCS4)" would not be correct since it would unnecessarily limit the length of ASCII-only unicode strings.
I think the initial check avoids the risk of integer overflow in the calculations below, so it's not entirely redundant. |
|
Date |
User |
Action |
Args |
2018-10-14 13:13:24 | scoder | set | recipients:
+ scoder, Windson Yang |
2018-10-14 13:13:24 | scoder | set | messageid: <1539522804.44.0.788709270274.issue34912@psf.upfronthosting.co.za> |
2018-10-14 13:13:24 | scoder | link | issue34912 messages |
2018-10-14 13:13:24 | scoder | create | |
|