FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

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

Repository navigation

[3.6] bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) - #5826

Merged
gpshead merged 1 commit into
python:3.6from
akruis:backport-33dddac-3.6
Feb 23, 2018
Merged

gpshead merged 1 commit into
python:3.6from
akruis:backport-33dddac-3.6

Conversation

akruis commented Feb 23, 2018 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown

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 commented Feb 23, 2018

Copy link
Copy Markdown
Author

@gpshead please review and merge this PR.

gpshead merged commit 9c819a6 into python:3.6 Feb 23, 2018
akruis deleted the backport-33dddac-3.6 branch February 23, 2018 17:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL