https://github.com/python/cpython/commit/0403cb41bfc0c112b51d668c44532132893cd311 commit: 0403cb41bfc0c112b51d668c44532132893cd311 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: gaogaotiantian <gaogaotiant...@hotmail.com> date: 2024-07-19T04:05:08Z summary:
[3.12] gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998) (#122001) gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998) (cherry picked from commit eaf094c09b5b1c33435c60ef49b1cec78c32573c) Co-authored-by: Tian Gao <gaogaotiant...@hotmail.com> files: M Modules/_lsprof.c diff --git a/Modules/_lsprof.c b/Modules/_lsprof.c index 79b95f9f152615..2c82b18c0e18d7 100644 --- a/Modules/_lsprof.c +++ b/Modules/_lsprof.c @@ -852,6 +852,7 @@ static int profiler_traverse(ProfilerObject *op, visitproc visit, void *arg) { Py_VISIT(Py_TYPE(op)); + Py_VISIT(op->externalTimer); return 0; } _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com