Skip to content

[WIP] bpo-36402: Fix test_threading.test_threads_join_2() #13946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

[WIP] bpo-36402: Fix test_threading.test_threads_join_2() #13946

wants to merge 1 commit into from

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 10, 2019

Fix test_threading.test_threads_join_2(): run the test into a
subprocess, rather than in a subinterpreter, to avoid a race
condition.

https://bugs.python.org/issue36402

Fix test_threading.test_threads_join_2(): run the test into a
subprocess, rather than in a subinterpreter, to avoid a race
condition.
@vstinner vstinner changed the title bpo-13889: Fix test_threading.test_threads_join_2() bpo-36402: Fix test_threading.test_threads_join_2() Jun 10, 2019
@vstinner vstinner changed the title bpo-36402: Fix test_threading.test_threads_join_2() [WIP] bpo-36402: Fix test_threading.test_threads_join_2() Jun 10, 2019
@vstinner
Copy link
Member Author

I'm not sure that this fix is correct. The purpose of the test is to ensure that Py_EndInterpreter() joins properly threads: commit 7b47699.

@vstinner
Copy link
Member Author

Nah, this change is plain wrong. https://bugs.python.org/issue36402 is a real bug, this change only hides it. PR #13948 is the good fix.

@vstinner vstinner closed this Jun 10, 2019
@vstinner vstinner deleted the fix_threads_join_2 branch June 10, 2019 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants