Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
elprans:executor-deprecationelprans/cpython:executor-deprecationCopy head branch name to clipboard
Jul 30, 2018
Merged

bpo-34075: Deprecate non-ThreadPoolExecutor in loop.set_default_executor()#8533
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
elprans:executor-deprecationelprans/cpython:executor-deprecationCopy head branch name to clipboard

Conversation

@elprans

@elprans elprans commented Jul 28, 2018

Copy link
Copy Markdown
Contributor

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.