https://github.com/python/cpython/commit/eaf094c09b5b1c33435c60ef49b1cec78c32573c
commit: eaf094c09b5b1c33435c60ef49b1cec78c32573c
branch: main
author: Tian Gao <[email protected]>
committer: gaogaotiantian <[email protected]>
date: 2024-07-18T20:46:24-07:00
summary:
gh-120289: Add external timer in traverse of _lsprof.Profiler (#121998)
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]