Skip to content

bpo-34075: Deprecate non-ThreadPoolExecutor in loop.set_default_executor()#8533

Merged
vstinner merged 1 commit intopython:masterfrom
elprans:executor-deprecation
Jul 30, 2018
Merged

bpo-34075: Deprecate non-ThreadPoolExecutor in loop.set_default_executor()#8533
vstinner merged 1 commit intopython:masterfrom
elprans:executor-deprecation

Conversation

@elprans
Copy link
Copy Markdown
Contributor

@elprans elprans commented Jul 28, 2018

Various asyncio internals expect that the default executor is a
ThreadPoolExecutor, so deprecate passing anything else to
loop.set_default_executor().

https://bugs.python.org/issue34075

…tor()

Various asyncio internals expect that the default executor is a
`ThreadPoolExecutor`, so deprecate passing anything else to
`loop.set_default_executor()`.
@vstinner
Copy link
Copy Markdown
Member

I tested manually the test with python3 -W ignore and python3 -W error: the test pass a expected.

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.

5 participants