classification
Title: Improve tracemalloc demo code in docs
Type: enhancement Stage:
Components: Documentation Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, haypo, louielu
Priority: normal Keywords:

Created on 2017-08-08 02:26 by louielu, last changed 2017-08-08 03:40 by louielu.

Pull Requests
URL Status Linked Edit
PR 3020 open louielu, 2017-08-08 03:40
Messages (1)
msg299892 - (view) Author: Louie Lu (louielu) * Date: 2017-08-08 02:26
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 output to reader.
History
Date User Action Args
2017-08-08 03:40:47louielusetpull_requests: + pull_request3053
2017-08-08 02:26:08louielucreate