Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-93353: Fix importlib.resources._tempfile() finalizer (python…
…GH-93377) 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. (cherry picked from commit 443ca73) Co-authored-by: Victor Stinner <vstinner@python.org>
- Loading branch information