Message323491
Max size of list and tuples is limited by PY_SSIZE_T_MAX / sizeof(PyObject*), so the sum of any two list/tuples sizes always <= PY_SSIZE_T_MAX if sizeof(PyObject*) > 1, which seems true for all supported (existing?) platforms.
It means that overflow checks in app1, ins1, list_concat and tupleconcat are redundant and can be safely removed. |
|
Date |
User |
Action |
Args |
2018-08-13 19:38:54 | sir-sigurd | set | recipients:
+ sir-sigurd |
2018-08-13 19:38:54 | sir-sigurd | set | messageid: <1534189134.26.0.56676864532.issue34397@psf.upfronthosting.co.za> |
2018-08-13 19:38:54 | sir-sigurd | link | issue34397 messages |
2018-08-13 19:38:54 | sir-sigurd | create | |
|