cpython/Lib/importlib
Miss Islington (bot) f9585e2adc
gh-93353: Fix importlib.resources._tempfile() finalizer (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 443ca731d6)

Co-authored-by: Victor Stinner <vstinner@python.org>
2022-06-13 10:52:50 -07:00
..
metadata
__init__.py
_abc.py
_adapters.py
_bootstrap.py
_bootstrap_external.py
_common.py gh-93353: Fix importlib.resources._tempfile() finalizer (GH-93377) 2022-06-13 10:52:50 -07:00
abc.py
machinery.py
readers.py
resources.py
util.py