◐ Shell
clean mode source ↗

[3.6] bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) by akruis · Pull Request #5826 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

gpshead

merged 1 commit into

Feb 23, 2018

Conversation

@akruis

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 33dddac)

https://bugs.python.org/issue30028

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 33dddac)

Co-authored-by: Anselm Kruis <a.kruis@science-computing.de>

@akruis

@gpshead please review and merge this PR.

@akruis akruis deleted the backport-33dddac-3.6 branch

February 23, 2018 17:48

Labels