[issue18874] Add a new tracemalloc module to trace memory allocations

STINNER Victor report at bugs.python.org
Thu Nov 21 21:22:17 CET 2013


STINNER Victor added the comment:

> FYI, the C OrderedDict implementation in #16991 implements its own doubly-linked list, built around the needs of OrderedDict.  I looked into BSD's queue.h [1], but it ended up simpler to roll my own.

Oh nice, it's probably possible to factorize code and have more unit
tests on the implementation. It may be better to discuss this in a
separated issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18874>
_______________________________________


More information about the Python-bugs-list mailing list