Skip to content

Conversation

@vstinner
Copy link
Member

No description provided.

vstinner added 2 commits June 30, 2017 10:43
asyncio base TestCase now uses threading_setup() and
threading_cleanup() of test.support to cleanup threads.
bpo-30280: TestBaseSelectorEventLoop of
test.test_asyncio.test_selector_events now correctly closes the event
loop: cleanup its executor to not leak threads.

Don't override the close() method of the event loop, only override
the_close_self_pipe() method.
@vstinner vstinner requested a review from 1st1 June 30, 2017 08:58
@mention-bot
Copy link

@Haypo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @1st1, @pitrou and @asvetlov to be potential reviewers.

@vstinner vstinner merged commit b903067 into python:master Jun 30, 2017
@vstinner vstinner deleted the asyncio_cleanup branch June 30, 2017 09:12
vstinner added a commit that referenced this pull request Jun 30, 2017
* bpo-30280: asyncio now cleans up threads

asyncio base TestCase now uses threading_setup() and
threading_cleanup() of test.support to cleanup threads.

* asyncio: Fix TestBaseSelectorEventLoop cleanup

bpo-30280: TestBaseSelectorEventLoop of
test.test_asyncio.test_selector_events now correctly closes the event
loop: cleanup its executor to not leak threads.

Don't override the close() method of the event loop, only override
the_close_self_pipe() method.

(cherry picked from commit b903067)
vstinner added a commit that referenced this pull request Jun 30, 2017
* bpo-30280: asyncio now cleans up threads

asyncio base TestCase now uses threading_setup() and
threading_cleanup() of test.support to cleanup threads.

* asyncio: Fix TestBaseSelectorEventLoop cleanup

bpo-30280: TestBaseSelectorEventLoop of
test.test_asyncio.test_selector_events now correctly closes the event
loop: cleanup its executor to not leak threads.

Don't override the close() method of the event loop, only override
the_close_self_pipe() method.

(cherry picked from commit b903067)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants