[issue31139] Improve tracemalloc demo code in docs

2021-12-06 Thread STINNER Victor
STINNER Victor added the comment: https://github.com/python/cpython/pull/3020 is closed, I close this issue as well. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue31139] Improve tracemalloc demo code in docs

2017-08-07 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +3053 ___ Python tracker ___ ___ Python-bugs-list

[issue31139] Improve tracemalloc demo code in docs

2017-08-07 Thread Louie Lu
New submission from Louie Lu: Current tutorial of tracemalloc: https://docs.python.org/3/library/tracemalloc.html Current doc using a un-reproducible output, that will confuse the reader. Propose to use the test code `allocate_bytes` to control the memory usage output, provide more meaningful