]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-109190: Copyedit 3.12 What's New: PEP 669 (#109658)
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>
Fri, 22 Sep 2023 13:31:49 +0000 (14:31 +0100)
committerGitHub <noreply@github.com>
Fri, 22 Sep 2023 13:31:49 +0000 (15:31 +0200)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/whatsnew/3.12.rst

index b21518c85062b5f4758f0482ca213253682f7a30..ada6558175be7b3bfe7ae72b00eb4a2fe5fa633a 100644 (file)
@@ -321,13 +321,15 @@ per-interpreter GIL, see :source:`Modules/_xxsubinterpretersmodule.c`.
 PEP 669: Low impact monitoring for CPython
 ------------------------------------------
 
-CPython 3.12 now supports the ability to monitor calls,
-returns, lines, exceptions and other events using instrumentation.
+:pep:`669` defines a new :mod:`API <sys.monitoring>` for profilers,
+debuggers, and other tools to monitor events in CPython.
+It covers a wide range of events, including calls,
+returns, lines, exceptions, jumps, and more.
 This means that you only pay for what you use, providing support
 for near-zero overhead debuggers and coverage tools.
-
 See  :mod:`sys.monitoring` for details.
 
+(Contributed by Mark Shannon in :gh:`103083`.)
 
 New Features Related to Type Hints
 ==================================