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 serhiy.storchaka
Recipients gregory.p.smith, python-dev, serhiy.storchaka, vstinner
Date 2013-07-17.07:33:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374046384.85.0.362540228458.issue18408@psf.upfronthosting.co.za>
In-reply-to
Content
listpop.patch:

list_resize(a, Py_SIZE(a) + d) for d < 0 fails only when PyMem_Realloc(p, n) returns NULL if n < allocated size. Is it possible? Is it desired behavior? Perhaps we should declare that PyMem_Realloc() should return the original pointer if it can't shrink an allocated block.
History
Date User Action Args
2013-07-17 07:33:04serhiy.storchakasetrecipients: + serhiy.storchaka, gregory.p.smith, vstinner, python-dev
2013-07-17 07:33:04serhiy.storchakasetmessageid: <1374046384.85.0.362540228458.issue18408@psf.upfronthosting.co.za>
2013-07-17 07:33:04serhiy.storchakalinkissue18408 messages
2013-07-17 07:33:04serhiy.storchakacreate