Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Closed
vstinner wants to merge 1 commit into
python:masterpython/cpython:masterfrom
vstinner:fix_threads_join_2Copy head branch name to clipboard
Closed

[WIP] bpo-36402: Fix test_threading.test_threads_join_2()#13946
vstinner wants to merge 1 commit into
python:masterpython/cpython:masterfrom
vstinner:fix_threads_join_2Copy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Jun 10, 2019

Copy link
Copy Markdown
Member

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.