◐ Shell
clean mode source ↗

[3.8] bpo-37421: Fix multiprocessing get_temp_dir() finalizer (GH-14572) by miss-islington · Pull Request #14585 · python/cpython

Fix multiprocessing.util.get_temp_dir() finalizer: clear also the
'tempdir' configuration of the current process, so next call to
get_temp_dir() will create a new temporary directory, rather than
reusing the removed temporary directory.
(cherry picked from commit 9d40554)

Co-authored-by: Victor Stinner vstinner@redhat.com

https://bugs.python.org/issue37421