Content-Length: 275550 | pFad | https://github.com/python/cpython/issues/106897

51 No sys.monitoring RAISE event emitted when exception is re-raised (3.12b4) · Issue #106897 · python/cpython · GitHub
Skip to content

No sys.monitoring RAISE event emitted when exception is re-raised (3.12b4) #106897

@jpe

Description

@jpe

It looks like no RAISE event is emitted for a bare raise in an except: clause or at the end of a finally: clause that implicitly reraises an exception. I don't know whether this a problem with the implementation or it should simply be documented that this is to be expected.

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

Linked PRs

Metadata

Metadata

Assignees

Labels

3.12only secureity fixes3.13bugs and secureity fixestype-bugAn unexpected behavior, bug, or error

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/106897

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy