summaryrefslogtreecommitdiff
path: root/coverage/collector.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-09-08 07:05:43 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-09-08 07:05:43 -0400
commitc4ad568695e40d4a0f5341abcfb49b0172df67a6 (patch)
tree31f1d3295458fb666bf81f897cf03d48514033a3 /coverage/collector.py
parent8a34193cfd976645b0373334d32da06c7ad5ab09 (diff)
downloadpython-coveragepy-git-c4ad568695e40d4a0f5341abcfb49b0172df67a6.tar.gz
docs: 3.12 has a new function we can use someday
Diffstat (limited to 'coverage/collector.py')
-rw-r--r--coverage/collector.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/coverage/collector.py b/coverage/collector.py
index f546559b..241de05e 100644
--- a/coverage/collector.py
+++ b/coverage/collector.py
@@ -285,6 +285,8 @@ class Collector:
# for running code before the thread main is the tracing function. So we
# install this as a trace function, and the first time it's called, it does
# the real trace installation.
+ #
+ # New in 3.12: threading.settrace_all_threads: https://github.com/python/cpython/pull/96681
def _installation_trace(self, frame, event, arg):
"""Called on new threads, installs the real tracer."""