Skip to content

Chain import SystemError on unexpected exceptions #99947

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

Activity

  1. brettcannon commented on Dec 2, 2022

    @brettcannon
    Member

    @seberg What does "ENH" mean?

  2. seberg commented on Dec 3, 2022

    @seberg
    ContributorAuthor

    Hehe, old habits... just the short-form for "enhancement" that we use at NumPy, not that I am sure that "enhancement" is the best tag.

  3. changed the title [-]ENH: Chain import SystemError on unexpected exceptions[/-] [+]Chain import SystemError on unexpected exceptions[/+] on Dec 5, 2022
  4. added a commit that references this issue on Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions