From 9a4a261b35a40e8e8596f898cb7a4cfa696ec4cb Mon Sep 17 00:00:00 2001 From: Matthias Schoettle Date: Thu, 6 Nov 2025 06:34:37 -0500 Subject: [PATCH] docs: clarify trace function implementation used by default depending on Python version (#2067) * docs: clarify trace function implementation used by default depending on the Python version * Apply suggestions from code review Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com> * Apply suggestions from code review --------- Co-authored-by: Ned Batchelder Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com> --- doc/config.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/config.rst b/doc/config.rst index 21ea6729c..e105a6412 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -335,8 +335,10 @@ Before version 4.2, this option only accepted a single string. (string) Specify which trace function implementation to use. Valid values are: "pytrace" for the pure Python implementation, "ctrace" for the C implementation -(default), or "sysmon" for the :mod:`sys.monitoring ` -implementation (Python 3.12+ only). +(default until Python 3.13), +or "sysmon" (Python 3.12+ only) for the +:mod:`sys.monitoring ` +implementation (default with Python 3.14+). This was previously only available as the COVERAGE_CORE environment variable. Note that the "sysmon" core does not yet support plugins or dynamic contexts.