diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-02-23 05:39:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-23 05:39:02 (GMT) |
commit | 694c5e0e1f7f23595fab314f26b89e241477ff18 (patch) | |
tree | f3a18b8694d10334beaa65e1d3e0de950ec8cbf6 /Python/ast_unparse.c | |
parent | 24d6e3c56bf99fd122e23da4c843fed3eb2a8b1c (diff) | |
download | cpython-694c5e0e1f7f23595fab314f26b89e241477ff18.zip cpython-694c5e0e1f7f23595fab314f26b89e241477ff18.tar.gz cpython-694c5e0e1f7f23595fab314f26b89e241477ff18.tar.bz2 |
bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066)
Make test.support.temp_cwd() fork-safe. The context manager test.support.temp_cwd() no longer removes the temporary directory when executing in a process other than the parent it entered from.
If a forked child exits the context manager it won't do the cleanup.
(cherry picked from commit 33dddac00ba8d9b72cf21b8698504077eb3c23ad)
Co-authored-by: Anselm Kruis <a.kruis@science-computing.de>
Diffstat (limited to 'Python/ast_unparse.c')
0 files changed, 0 insertions, 0 deletions