Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 30, 2018

Conversation

elprans
Copy link
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
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