Visitar URL original
GH-102818: Do not call `PyTraceBack_Here` in sys.settrace trampoline. by markshannon · Pull Request #104579 · python/cpython · GitHub
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
Update Misc/NEWS.d/next/Core and Builtins/2023-05-12-13-30-04.gh-issu…
…e-102818.rnv1mH.rst

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
markshannon and iritkatriel authored May 19, 2023
commit e47269fb5ac6ba03745dea1befea4bf5a4c7500e
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Do not add a frame to the traceback in the ``sys.setprofile`` and
``sys.settrace`` trampoline functions. This ensures that frames are not
duplicated if an exception is raised in the callback function, and ensures
that frames are no omitted if a C callback is used and that does not add the
that frames are not omitted if a C callback is used and that does not add the
frame.