Message203614
> Perhaps the code will be easier if reorganize it.
Ah yes, your version is simpler. I commited your patch, thanks.
I also fixed the XXX to check the integer overflow:
if (Py_SIZE(self) > (Py_ssize_t)PY_SSIZE_T_MAX - growth) {
PyErr_NoMemory();
return -1;
} |
|
| Date |
User |
Action |
Args |
| 2013-11-21 11:33:35 | vstinner | set | recipients:
+ vstinner, pitrou, skrah, python-dev, serhiy.storchaka |
| 2013-11-21 11:33:35 | vstinner | set | messageid: <[email protected]> |
| 2013-11-21 11:33:35 | vstinner | link | issue19568 messages |
| 2013-11-21 11:33:35 | vstinner | create | |
|