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 kristjan.jonsson
Recipients asvetlov, eric.snow, kristjan.jonsson, qualab, serhiy.storchaka, vstinner
Date 2014-04-14.14:57:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397487476.85.0.146049875892.issue20434@psf.upfronthosting.co.za>
In-reply-to
Content
I would also advocate for a better api, that leaves it up to the caller what to do, much like realloc() does.  A convenience macro that frees the block on error could then be provided.  But this is 2.7 and we don't change stuff there :)

Can you elaborate on your second comment?  Is there some place where I forgot to clear the object?
History
Date User Action Args
2014-04-14 14:57:56kristjan.jonssonsetrecipients: + kristjan.jonsson, vstinner, asvetlov, eric.snow, serhiy.storchaka, qualab
2014-04-14 14:57:56kristjan.jonssonsetmessageid: <1397487476.85.0.146049875892.issue20434@psf.upfronthosting.co.za>
2014-04-14 14:57:56kristjan.jonssonlinkissue20434 messages
2014-04-14 14:57:56kristjan.jonssoncreate