Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-93353: Fix importlib.resources._tempfile() finalizer #93377

Merged
merged 1 commit into from
Jun 13, 2022
Merged

gh-93353: Fix importlib.resources._tempfile() finalizer #93377

merged 1 commit into from
Jun 13, 2022

Commits on Jun 13, 2022

  1. gh-93353: Fix importlib.resources._tempfile() finalizer

    Fix the importlib.resources.as_file() context manager to remove the
    temporary file if destroyed late during Python finalization: keep a
    local reference to the os.remove() function. Patch by Victor Stinner.
    vstinner committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    e2f0c3f View commit details
    Browse the repository at this point in the history