Skip to content

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

Closed
vstinner wants to merge 1 commit intopython:masterfrom
vstinner:fix_threads_join_2
Closed

[WIP] bpo-36402: Fix test_threading.test_threads_join_2()#13946
vstinner wants to merge 1 commit intopython:masterfrom
vstinner:fix_threads_join_2

Conversation

@vstinner
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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