STINNER Victor added the comment: COUNT_ALLOCS was added 22 years ago. I guess that the usecase is to track memory leaks, right?
branch: legacy-trunk user: Sjoerd Mullender <sjo...@acm.org> date: Mon Oct 11 12:54:31 1993 +0000 files: Include/object.h Modules/arraymodule.c Modules/config.c.in Modules/imageop.c Modules/imgfile.c Objects/floatobject.c Objects/intobject.c Objects/listobj description: * Extended X interface: pixmap objects, colormap objects visual objects, image objects, and lots of new methods. * Added counting of allocations and deallocations of builtin types if COUNT_ALLOCS is defined. Had to move calls to NEWREF down in some files. * Bug fix in sorting lists. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19527> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com