Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-109190: Copyedit 3.12 What's New: PEP 669 #109658

Merged
merged 3 commits into from
Sep 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <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
Loading