bpo-37137, asyncio: add BaseEventLoop.wait_executor_on_close by vstinner · Pull Request #13786 · python/cpython

@vstinner

Add BaseEventLoop.wait_executor_on_close attribute: true by default.

loop.close() now waits for the default executor to finish by default.
Set loop.wait_executor_on_close attribute to False to not wait for
the executor.

@vstinner vstinner deleted the asyncio_block_on_close branch

June 3, 2019 21:31

ambv added a commit to ambv/cpython that referenced this pull request

Jun 4, 2019

ambv added a commit to ambv/cpython that referenced this pull request

Jun 4, 2019

@aeros aeros mentioned this pull request

Sep 9, 2019

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
…H-13786)

Add BaseEventLoop.wait_executor_on_close attribute: true by default.

loop.close() now waits for the default executor to finish by default.
Set loop.wait_executor_on_close attribute to False to not wait for
the executor.

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020