Skip to content

Commit

Permalink
[3.12] GH-109190: Copyedit 3.12 What's New: PEP 669 (GH-109658) (#109732
Browse files Browse the repository at this point in the history
)

GH-109190: Copyedit 3.12 What's New: PEP 669 (GH-109658)
(cherry picked from commit 168c3a8)

Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
4 people authored Sep 22, 2023
1 parent 66a8777 commit 8985a77
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
==================================
Expand Down

0 comments on commit 8985a77

Please sign in to comment.