From c4ad568695e40d4a0f5341abcfb49b0172df67a6 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 8 Sep 2022 07:05:43 -0400 Subject: docs: 3.12 has a new function we can use someday --- coverage/collector.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'coverage') 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.""" -- cgit v1.2.1