diff options
author | Anselm Kruis <a.kruis@science-computing.de> | 2018-02-23 16:27:54 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2018-02-23 16:27:54 (GMT) |
commit | 9c819a6a7d34594779fea3a25fd69ec5745e185e (patch) | |
tree | db03aa63007929538112c00c04ba96902ca5c17c /Lib/idlelib/hyperparser.py | |
parent | dd52d5c868fb1eb33bcf22e777317de0391bfaf6 (diff) | |
download | cpython-9c819a6a7d34594779fea3a25fd69ec5745e185e.zip cpython-9c819a6a7d34594779fea3a25fd69ec5745e185e.tar.gz cpython-9c819a6a7d34594779fea3a25fd69ec5745e185e.tar.bz2 |
[3.6] bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) (GH-5826)
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 'Lib/idlelib/hyperparser.py')
0 files changed, 0 insertions, 0 deletions