SIGN IN SIGN UP

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.
A
Anselm Kruis committed
33dddac00ba8d9b72cf21b8698504077eb3c23ad
Parent: 520b7ae
Committed by Gregory P. Smith <greg@krypto.org> on 2/23/2018, 1:37:38 AM