https://github.com/python/cpython/commit/e992cc3922884f0f4250b603b93d804d3989071d
commit: e992cc3922884f0f4250b603b93d804d3989071d
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: gaogaotiantian <[email protected]>
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 <[email protected]>

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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to