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 [3.10] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH-31857) 2022-03-13 17:29:50 -04:00
__init__.py
_abc.py
_adapters.py [3.10] bpo-45419: Fix interfaces on DegenerateFiles.Path (GH-28844) 2021-10-10 07:23:06 -07:00
_bootstrap.py
_bootstrap_external.py [3.10] bpo-45703: Invalidate _NamespacePath cache on importlib.invalidate_cache (GH-29384) (GH-30922) 2022-01-27 06:00:23 -08:00
_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