Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
remove impl details
  • Loading branch information
pablogsal committed Dec 11, 2025
commit 364726b150779af76c8232b657cc3e48fc2edce3
6 changes: 0 additions & 6 deletions Doc/library/profiling.sampling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -567,12 +567,6 @@ up the call stack (after ``raise`` but before being caught), or when code is
executing inside an ``except`` block where exception information is still
present in the thread state.

The profiler detects exceptions by checking two internal thread state fields:
the ``current_exception`` field (set when an exception is actively propagating)
and the ``exc_info`` field (set when inside an ``except`` block). When either
field contains an exception object, the thread is considered to have an active
exception.

The following example illustrates which code regions are captured:

.. code-block:: python
Expand Down
Loading