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 <[email protected]>
* Apply suggestions from code review
---------
Co-authored-by: Ned Batchelder <[email protected]>
Co-authored-by: devdanzin <[email protected]>
diff --git a/doc/config.rst b/doc/config.rst
index 21ea672..e105a64 100644
--- a/doc/config.rst
+++ b/doc/config.rst
@@ -335,8 +335,10 @@
(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 <python:sys.monitoring>`
-implementation (Python 3.12+ only).
+(default until Python 3.13),
+or "sysmon" (Python 3.12+ only) for the
+:mod:`sys.monitoring <python: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.