New submission from Piotr Ożarowski: [Forwarding patch from Julien Cristau <julien.cris...@logilab.fr>]
_Py_AllocatedBlocks was never incremented in PyObject_Malloc(), but would still be decremented on failure or in PyObject_Free(). ---------- components: Interpreter Core files: obmalloc.patch keywords: patch messages: 184517 nosy: piotr priority: normal severity: normal status: open title: Fix sys.getallocatedblocks() when running on valgrind Added file: http://bugs.python.org/file29456/obmalloc.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17469> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com