mirror of
https://github.com/python/cpython.git
synced 2025-11-10 18:42:04 +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
|
||
|---|---|---|
| .. | ||
| metadata | ||
| resources | ||
| __init__.py | ||
| _abc.py | ||
| _bootstrap.py | ||
| _bootstrap_external.py | ||
| abc.py | ||
| machinery.py | ||
| readers.py | ||
| simple.py | ||
| util.py | ||