Kristján Valur Jónsson added the comment: 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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20434> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com