This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients pitrou, python-dev, serhiy.storchaka, skrah, vstinner
Date 2013-11-21.11:33:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385033615.81.0.257969176542.issue19568@psf.upfronthosting.co.za>
In-reply-to
Content
> 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;
      }
History
Date User Action Args
2013-11-21 11:33:35vstinnersetrecipients: + vstinner, pitrou, skrah, python-dev, serhiy.storchaka
2013-11-21 11:33:35vstinnersetmessageid: <1385033615.81.0.257969176542.issue19568@psf.upfronthosting.co.za>
2013-11-21 11:33:35vstinnerlinkissue19568 messages
2013-11-21 11:33:35vstinnercreate