Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Bug report
Bug description:
When using a legacy tracer withPyEval_SetTrace and a function exits with an exception, the arg of the tracer eventPyTrace_RETURN should be NULLdocs. Currently in 3.12 (& 3.13), the arg is set to the exception value because the PY_UNWIND handler is forwarding its arg to the legacy tracer function.
CPython versions tested on:
3.12
Operating systems tested on:
No response