cpython/Lib/importlib/resources
Miss Islington (bot) dc6dd8ee87
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:49:48 -07:00
..
__init__.py
_adapters.py
_common.py gh-93353: Fix importlib.resources._tempfile() finalizer (GH-93377) 2022-06-13 10:49:48 -07:00
_itertools.py
_legacy.py
abc.py
readers.py
simple.py