Message271746
In list_resize, new_allocated is of type size_t but I think don't have to be now since it finally have to assign back to self->allocated which is of type Py_ssize_t. With Py_ssize_t, we can check some overflows in the first overflow check and don't need the second overflow check. |
|
Date |
User |
Action |
Args |
2016-07-31 17:40:09 | xiang.zhang | set | recipients:
+ xiang.zhang, martin.panter |
2016-07-31 17:40:09 | xiang.zhang | set | messageid: <1469986809.78.0.371731130003.issue27660@psf.upfronthosting.co.za> |
2016-07-31 17:40:09 | xiang.zhang | link | issue27660 messages |
2016-07-31 17:40:09 | xiang.zhang | create | |
|