https://github.com/python/cpython/commit/e992cc3922884f0f4250b603b93d804d3989071d
commit: e992cc3922884f0f4250b603b93d804d3989071d
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: gaogaotiantian <gaogaotiant...@hotmail.com>
date: 2024-07-19T04:10:11Z
summary:

[3.13] gh-120289: Add external timer in traverse of _lsprof.Profiler 
(GH-121998) (#122000)

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 3dd5f554e06f76..8b6906234bdc25 100644
--- a/Modules/_lsprof.c
+++ b/Modules/_lsprof.c
@@ -856,6 +856,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

Reply via email to