Message354586
for a code example:
```
v = []
b = bytearray(0xffff)
for i in range(2**31+1)
# the ob_exports would be overflow in 32 bit machine when i = 2**31.
v.append(memoryview(b))
```
IMHO, i thought converting the type of ob_exports to Py_ssize_t is fine.
PS: I have no actual user scenario. |
|
Date |
User |
Action |
Args |
2019-10-13 14:57:15 | shihai1991 | set | recipients:
+ shihai1991 |
2019-10-13 14:57:15 | shihai1991 | set | messageid: <1570978635.87.0.596564542888.issue38465@roundup.psfhosted.org> |
2019-10-13 14:57:15 | shihai1991 | link | issue38465 messages |
2019-10-13 14:57:15 | shihai1991 | create | |
|