Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 1, 2018

vstinner added 2 commits June 1, 2018 14:12
Use _thread.count() to wait until threads exit. The new context
manager prevents the "dangling thread" warning.

(cherry picked from commit ff40ecd)
Try to fix the "Warning -- threading_cleanup() failed to cleanup 1
threads" warning in test.lock_tests: wait a little bit longer to give
time to the threads to complete.

Warning seen on test_thread and test_importlib.

(cherry picked from commit 096ae33)
@vstinner vstinner merged commit 5dbb48a into python:3.6 Jun 1, 2018
@vstinner vstinner deleted the wait_threads_exit36 branch June 1, 2018 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants