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

[3.7] bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) by miss-islington · Pull Request #5824 · python/cpython · GitHub

Repository navigation

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

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-33dddac-3.7
Feb 23, 2018
Merged

miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-33dddac-3.7

Conversation

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

Copy link
Copy Markdown
Contributor

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

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>

Copy link
Copy Markdown
Contributor Author

@akruis and @gpshead: Backport status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Contributor Author

Thanks!

miss-islington deleted the backport-33dddac-3.7 branch February 23, 2018 05:39
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