Content-Length: 281639 | pFad | https://github.com/python/cpython/issues/106898

8F Add mechanism for getting active exception in a sys.monitoring PY_UNWIND callback (3.12) · Issue #106898 · python/cpython · GitHub
Skip to content

Add mechanism for getting active exception in a sys.monitoring PY_UNWIND callback (3.12) #106898

@jpe

Description

@jpe

I couldn't figure out a way get the active exception from a PY_UNWIND event callback -- I was hoping the exception would be passed to the callback but it isn't. This was an issue with the old tracer function debugger / profiler support so it's not really a regression, but I was hoping to avoid the work arounds that we used with it.

I mentioned this in #103082 but was encouraged to create a separate bug for it.

Linked PRs

Metadata

Metadata

Assignees

Labels

type-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/106898

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy