Skip to content

Chain import SystemError on unexpected exceptions #99947

Closed
@seberg

Description

@seberg

Feature or enhancement

For functions, the SystemError chains an in-fly unexpected exceptions, for some import errors this is not the case.

Pitch

Chaining seems easy, and helps debugging since it is tricky to get back the original exception otherwise, and knowing the exception is often sufficient.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions