mirror of
https://github.com/python/cpython.git
synced 2025-11-11 11:01:39 +00:00
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
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _adapters.py | ||
| _common.py | ||
| _itertools.py | ||
| _legacy.py | ||
| abc.py | ||
| readers.py | ||
| simple.py | ||