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: <1385033615.81.0.257969176542.issue19568@psf.upfronthosting.co.za> |
2013-11-21 11:33:35 | vstinner | link | issue19568 messages |
2013-11-21 11:33:35 | vstinner | create | |
|