diff options
author | Anselm Kruis <a.kruis@science-computing.de> | 2018-02-23 16:27:28 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2018-02-23 16:27:28 (GMT) |
commit | 61bd4d2e6319a3c5c3b9ce5f807b44a45cc1d4a1 (patch) | |
tree | 0a928284e9b82da4a392a2d5e0b12f2d8f44266b /Python/Python-ast.c | |
parent | b852d8c1f0b12e84549d83cd9b1ec0992b9d9703 (diff) | |
download | cpython-61bd4d2e6319a3c5c3b9ce5f807b44a45cc1d4a1.zip cpython-61bd4d2e6319a3c5c3b9ce5f807b44a45cc1d4a1.tar.gz cpython-61bd4d2e6319a3c5c3b9ce5f807b44a45cc1d4a1.tar.bz2 |
[2.7] bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) (GH-5825)
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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions