summaryrefslogtreecommitdiffstats
path: root/Lib/getpass.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-13 17:24:00 (GMT)
committerGitHub <noreply@github.com>2022-06-13 17:24:00 (GMT)
commit443ca731d6b1267fe2f92985e0490460c95e44a8 (patch)
tree69e0a0ff3e4d33bcd88dd37ed5947c19b2a630f5 /Lib/getpass.py
parent3ceb4b8d3ad48101e67da8fb8f581d3377863bfa (diff)
downloadcpython-443ca731d6b1267fe2f92985e0490460c95e44a8.zip
cpython-443ca731d6b1267fe2f92985e0490460c95e44a8.tar.gz
cpython-443ca731d6b1267fe2f92985e0490460c95e44a8.tar.bz2
gh-93353: Fix importlib.resources._tempfile() finalizer (#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.
Diffstat (limited to 'Lib/getpass.py')
0 files changed, 0 insertions, 0 deletions