GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Chain import SystemError on unexpected exceptions · Issue #99947 · python/cpython

Chain import SystemError on unexpected exceptions #99947

New issue
Copy link
New issue
Copy link
Closed
Closed
Chain import SystemError on unexpected exceptions#99947
Copy link
Labels
topic-importlibtype-featureA feature request or enhancementA feature request or enhancement

Description

@seberg
seberg
opened on Dec 2, 2022
Issue body actions

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

  • gh-99947: Ensure unreported error is chained for SystemError during import #99946

Activity

  1. seberg
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Dec 2, 2022
  2. ronaldoussoren
    added
    topic-importlib
    on Dec 2, 2022
  3. brettcannon commented on Dec 2, 2022

    @brettcannon
    brettcannon
    on Dec 2, 2022
    Member
    More actions

    @seberg What does "ENH" mean?

  4. seberg commented on Dec 3, 2022

    @seberg
    seberg
    on Dec 3, 2022
    ContributorAuthor
    More actions

    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.

  5. brettcannon
    changed the title [-]ENH: Chain import SystemError on unexpected exceptions[/-] [+]Chain import SystemError on unexpected exceptions[/+] on Dec 5, 2022
  6. brettcannon
    closed this as completedon Dec 23, 2022
  7. brettcannon
    added a commit that references this issue on Dec 23, 2022

    gh-99947: Ensure unreported errors are chained for SystemError during…

    474220e
  8. iritkatriel
    added a commit that references this issue on Dec 28, 2022

    Merged main into regmachine branch (#50)

    fdc73cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-importlibtype-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.