This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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

Created on 2017-08-08 02:26 by louielu, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 3020 closed louielu, 2017-08-08 03:40
Messages (2)
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.
msg407831 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-12-06 16:22
https://github.com/python/cpython/pull/3020 is closed, I close this issue as well.
History
Date User Action Args
2022-04-11 14:58:49adminsetgithub: 75322
2021-12-06 16:22:13vstinnersetstatus: open -> closed
resolution: out of date
messages: + msg407831

stage: resolved
2017-08-08 03:40:47louielusetpull_requests: + pull_request3053
2017-08-08 02:26:08louielucreate