[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-06-01 Thread STINNER Victor
STINNER Victor added the comment: Feature added to Python 3.9. Lukasz allowed to add the feature to Python 3.9 beta2: https://github.com/python/cpython/pull/20102#issuecomment-632728791 -- versions: +Python 3.9 -Python 3.10 ___ Python tracker

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-06-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3c7609a23cf6e011f2cd411e28d9dcb1b087929c by Huon Wilson in branch '3.9': [3.9] bpo-40630: Add tracemalloc.reset_peak (GH-20102) (GH-20545) https://github.com/python/cpython/commit/3c7609a23cf6e011f2cd411e28d9dcb1b087929c --

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-06-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 39de8e4b6f139f8d8284732bd7bb6e5ccced29fa by Huon Wilson in branch 'master': bpo-40630: adjust tracemalloc.reset_peak docs for backport to 3.9 (GH-20546) https://github.com/python/cpython/commit/39de8e4b6f139f8d8284732bd7bb6e5ccced29fa

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-05-30 Thread Huon Wilson
Change by Huon Wilson : -- pull_requests: +19791 pull_request: https://github.com/python/cpython/pull/20546 ___ Python tracker ___

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-05-30 Thread Huon Wilson
Change by Huon Wilson : -- pull_requests: +19790 pull_request: https://github.com/python/cpython/pull/20545 ___ Python tracker ___

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-05-22 Thread STINNER Victor
STINNER Victor added the comment: Thanks Huon Wilson! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9 ___ Python tracker

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-05-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8b62644831443e400215eeb822c921f4f06c8977 by Huon Wilson in branch 'master': bpo-40630: Add tracemalloc.reset_peak (GH-20102) https://github.com/python/cpython/commit/8b62644831443e400215eeb822c921f4f06c8977 --

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-05-14 Thread Huon Wilson
Change by Huon Wilson : -- keywords: +patch pull_requests: +19409 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20102 ___ Python tracker ___

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-05-14 Thread Huon Wilson
New submission from Huon Wilson : Per https://mail.python.org/archives/list/python-id...@python.org/thread/QDWI37A4TJXOYUKULGPY2GKD7IG2JNDC/ , it would be helpful to have a function that resets the peak memory usage of the tracemalloc module, without changing all the traces. This allows for