This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Prohibit passing non-ThreadPoolExecutor executors to loop.set_default_executor following a deprecation
Type: Stage: resolved
Components: asyncio Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, illia-v, serhiy.storchaka, yselivanov
Priority: normal Keywords: patch

Created on 2021-02-15 20:11 by illia-v, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 24540 merged illia-v, 2021-02-15 20:19
Messages (3)
msg387052 - (view) Author: Illia Volochii (illia-v) * Date: 2021-02-15 20:11
https://github.com/python/cpython/blob/a2f0654b0a5b4c4f726155620002cc1f5f2d206a/Lib/asyncio/base_events.py#L816-L821

Setting non-ThreadPoolExecutor executors was supposed to be prohibited in Python 3.9.
msg396815 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2021-07-01 14:46
New changeset ddd5f36971e2ffe20cc3f4b408425c847d168646 by Illia Volochii in branch 'main':
bpo-43234: Prohibit non-ThreadPoolExecutor in loop.set_default_executor (GH-24540)
https://github.com/python/cpython/commit/ddd5f36971e2ffe20cc3f4b408425c847d168646
msg396816 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2021-07-01 14:48
Thank you for your contribution Illia.
History
Date User Action Args
2022-04-11 14:59:41adminsetgithub: 87400
2021-07-01 14:48:27serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: + msg396816

stage: patch review -> resolved
2021-07-01 14:46:57serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg396815
2021-06-28 06:59:16serhiy.storchakasetversions: + Python 3.11, - Python 3.10
2021-02-15 20:19:41illia-vsetkeywords: + patch
stage: patch review
pull_requests: + pull_request23326
2021-02-15 20:11:41illia-vcreate