From 418d21d773b1f442836959f3a2e0802195b18e00 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Fri, 8 Sep 2023 13:20:46 +0100 Subject: [PATCH 1/3] 669: Add link to PEP, rephrase, credits --- Doc/whatsnew/3.12.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 6b4ec99b43dea6..78a83d2349d8fd 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -322,13 +322,15 @@ A Python API is anticipated for 3.13. (See :pep:`554`.) 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 ` for profilers, +debuggers, and other tools to monitor events in CPython. +This instrumentation 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 ================================== From 830e69713c823b7912e80007ff271c46fa9faafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Fri, 22 Sep 2023 15:06:49 +0200 Subject: [PATCH 2/3] Add full sentence period to attribution. Co-authored-by: Hugo van Kemenade --- Doc/whatsnew/3.12.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 78a83d2349d8fd..ef76efe492432e 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -330,7 +330,7 @@ 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`) +(Contributed by Mark Shannon in :gh:`103083`.) New Features Related to Type Hints ================================== From eaab463a552330f8a3c3c6f6f591b30f05874a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Fri, 22 Sep 2023 15:08:37 +0200 Subject: [PATCH 3/3] Avoid saying "instrumentation" which is an implementation detail --- Doc/whatsnew/3.12.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index ef76efe492432e..8417cad7d3c09a 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -324,7 +324,7 @@ PEP 669: Low impact monitoring for CPython :pep:`669` defines a new :mod:`API ` for profilers, debuggers, and other tools to monitor events in CPython. -This instrumentation covers a wide range of events, including calls, +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.