]> granicus.if.org Git - python/commit
bpo-37421: Fix multiprocessing get_temp_dir() finalizer (GH-14572)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Jul 2019 11:34:31 +0000 (04:34 -0700)
committerGitHub <noreply@github.com>
Thu, 4 Jul 2019 11:34:31 +0000 (04:34 -0700)
commit957656ee1d6fb42664274ef2f440a10d26870e2a
tree2beb2743fafd1e0ba549153e52b6ff0a6d1f8f2c
parent070d3d928d20ccb4790dd077f3794af3c2932e5c
bpo-37421: Fix multiprocessing get_temp_dir() finalizer (GH-14572)

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 9d40554e0da09a44a8547f3f3a2b9dedfeaf7928)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/multiprocessing/util.py
Misc/NEWS.d/next/Library/2019-07-03-12-47-52.bpo-37421.gR5hC8.rst [new file with mode: 0644]