]> granicus.if.org Git - python/commit
Closes #19786: tracemalloc, remove the arbitrary limit of 100 frames
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 27 Nov 2013 21:27:13 +0000 (22:27 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 27 Nov 2013 21:27:13 +0000 (22:27 +0100)
commitf28ce60441e28ffcfca1eede81f906b30a3ab589
tree0a16569d723eead8faf3115999412546b1f5307a
parent3c0481d426d4c2953ade7371748486b8669c9d8b
Closes #19786: tracemalloc, remove the arbitrary limit of 100 frames

The limit is now 178,956,969 on 64 bit (it is greater on 32 bit because
structures are smaller).

Use int instead of Py_ssize_t to store the number of frames to have smaller
traceback_t objects.
Lib/test/test_tracemalloc.py
Modules/_tracemalloc.c