Skip to content

bpo-33676: Fix dangling thread in _test_multiprocessing#10755

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:mp_pool_join
Nov 28, 2018
Merged

bpo-33676: Fix dangling thread in _test_multiprocessing#10755
vstinner merged 1 commit intopython:masterfrom
vstinner:mp_pool_join

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Nov 27, 2018

Fix WithThreadsTestPool.test_wrapped_exception()
of test_multiprocessing_fork: join the pool.

WithThreadsTestPool.test_del_pool() is now also decorated
with @support.reap_threads.

https://bugs.python.org/issue33676

Fix WithThreadsTestPool.test_wrapped_exception()
of test_multiprocessing_fork: join the pool.

WithThreadsTestPool.test_del_pool() is now also decorated
with @support.reap_threads.
@miss-islington
Copy link
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

@vstinner vstinner deleted the mp_pool_join branch November 28, 2018 00:14
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 28, 2018
Fix WithThreadsTestPool.test_wrapped_exception()
of test_multiprocessing_fork: join the pool.

WithThreadsTestPool.test_del_pool() is now also decorated
with @support.reap_threads.
(cherry picked from commit b727873)

Co-authored-by: Victor Stinner <[email protected]>
@bedevere-bot
Copy link

GH-10756 is a backport of this pull request to the 3.7 branch.

@bedevere-bot
Copy link

GH-10757 is a backport of this pull request to the 3.6 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 28, 2018
Fix WithThreadsTestPool.test_wrapped_exception()
of test_multiprocessing_fork: join the pool.

WithThreadsTestPool.test_del_pool() is now also decorated
with @support.reap_threads.
(cherry picked from commit b727873)

Co-authored-by: Victor Stinner <[email protected]>
miss-islington added a commit that referenced this pull request Nov 28, 2018
Fix WithThreadsTestPool.test_wrapped_exception()
of test_multiprocessing_fork: join the pool.

WithThreadsTestPool.test_del_pool() is now also decorated
with @support.reap_threads.
(cherry picked from commit b727873)

Co-authored-by: Victor Stinner <[email protected]>
miss-islington added a commit that referenced this pull request Nov 28, 2018
Fix WithThreadsTestPool.test_wrapped_exception()
of test_multiprocessing_fork: join the pool.

WithThreadsTestPool.test_del_pool() is now also decorated
with @support.reap_threads.
(cherry picked from commit b727873)

Co-authored-by: Victor Stinner <[email protected]>
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.

4 participants