[issue34014] loop.run_in_executor should propagate current contextvars
Viktor Kovtun
report at bugs.python.org
Sat Jun 30 19:26:24 EDT 2018
New submission from Viktor Kovtun <hellysmile at gmail.com>:
PEP 567 supports copying context into another threads, but for asyncio users each call `run_in_executor` requires explicit context propagation
For end users expected behavior that context is copied automatically
----------
components: asyncio
messages: 320814
nosy: asvetlov, hellysmile, yselivanov
priority: normal
severity: normal
status: open
title: loop.run_in_executor should propagate current contextvars
versions: Python 3.7, Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34014>
_______________________________________
More information about the Python-bugs-list
mailing list