diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-09-22 14:02:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 14:02:26 (GMT) |
commit | 8985a77bf6bd90ac31dfc4ce55770c08fc0ecdf6 (patch) | |
tree | a59c74dff1d7e26997853d0f8696df5319656f56 | |
parent | 66a8777c7eb21bb0b0c3d85eb1b5ea6970f53fae (diff) | |
download | cpython-8985a77bf6bd90ac31dfc4ce55770c08fc0ecdf6.zip cpython-8985a77bf6bd90ac31dfc4ce55770c08fc0ecdf6.tar.gz cpython-8985a77bf6bd90ac31dfc4ce55770c08fc0ecdf6.tar.bz2 |
[3.12] GH-109190: Copyedit 3.12 What's New: PEP 669 (GH-109658) (#109732)
GH-109190: Copyedit 3.12 What's New: PEP 669 (GH-109658)
(cherry picked from commit 168c3a8a893fcb42f8a4d078a1e9a6bd7ad65253)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
-rw-r--r-- | Doc/whatsnew/3.12.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 1d099c3..adbcdd0 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -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 ================================== |