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 vstinner
Date 2013-11-14.00:42:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384389720.61.0.338181274078.issue19578@psf.upfronthosting.co.za>
In-reply-to
Content
"del list[start:stop:step]" instruction doesn't handle list_resize() failure when step != 1.

Attached patch notifies the caller that list_resize() fails. On case of failure, the list is modified (items are deleted), it's just that list buffer could be smaller (it wastes memory).

See also issue #19568 which is similar for bytearray.
History
Date User Action Args
2013-11-14 00:42:00vstinnersetrecipients: + vstinner
2013-11-14 00:42:00vstinnersetmessageid: <1384389720.61.0.338181274078.issue19578@psf.upfronthosting.co.za>
2013-11-14 00:42:00vstinnerlinkissue19578 messages
2013-11-14 00:42:00vstinnercreate