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 — Do not clear arbitrary errors on import · Issue #112660 · python/cpython

Do not clear arbitrary errors on import #112660

New issue
Copy link
New issue
Copy link
Closed
Closed
Do not clear arbitrary errors on import#112660
Copy link
Labels
topic-importlib

Description

@serhiy-storchaka
serhiy-storchaka
opened on Dec 3, 2023
Issue body actions

Currently the import and module code can clear arbitrary errors when format error message for ImportError or AttributeError and override them with ImportError or AttributeError. Usually it is not an issue, because these errors (accessing missed attribute or dict key) should be ignored, but in theory it can be arbitrary error, like KeyboardInterrupt, MemoryError or Recursion error which should not be ignored.

Linked PRs

  • gh-112660: Do not clear arbitrary errors on import #112661

Activity

  1. serhiy-storchaka
    added
    topic-importlib
    on Dec 3, 2023
  2. serhiy-storchaka
    added 2 commits that reference this issue on Dec 3, 2023

    pythongh-112660: Do not clear arbitrary errors on import

    8097bc4

    gh-112660: Do not clear arbitrary errors on import (GH-112661)

    8660fb7
  3. serhiy-storchaka
    closed this as completedon Dec 7, 2023
  4. aisk
    added a commit that references this issue on Feb 11, 2024

    pythongh-112660: Do not clear arbitrary errors on import (pythonGH-11…

    f467718
  5. Glyphack
    added a commit that references this issue on Sep 2, 2024

    pythongh-112660: Do not clear arbitrary errors on import (pythonGH-11…

    5237cf3
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-importlib

    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.