]> granicus.if.org Git - python/commit
bpo-37421: Fix multiprocessing get_temp_dir() finalizer (GH-14572)
authorVictor Stinner <vstinner@redhat.com>
Thu, 4 Jul 2019 10:28:55 +0000 (12:28 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jul 2019 10:28:55 +0000 (12:28 +0200)
commit9d40554e0da09a44a8547f3f3a2b9dedfeaf7928
tree4ee94eec007f76e75675a50221e0aaf7c81b4cbf
parentb607d992e76e485f20be3bfd6b311525123f936b
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.
Lib/multiprocessing/util.py
Misc/NEWS.d/next/Library/2019-07-03-12-47-52.bpo-37421.gR5hC8.rst [new file with mode: 0644]