[issue46169] Same-moment datetimes with different ZoneInfo timezones are not considered ==

2021-12-23 Thread Huon Wilson
New submission from Huon Wilson : The documentation suggests that two datetimes that represent the same moment should compare equal, even if they have different timezones: "If both comparands are aware and have different tzinfo attributes, the comparands are first adjusted by subtra

[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

[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 <https://bugs.python.org/issu

[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 <https://bugs.python.org/issue40

[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 <https://bugs.python.org/issue40