-
-
Notifications
You must be signed in to change notification settings - Fork 367
Closed
Description
PEP 567 got accepted on the 22nd, adding context-local variables to Python 3.7, and it would be super useful to have implemented (especially for something I'm working on).
However, 3.5/3.6 compat is an issue, and if it wasn't for that I would've PR'd in already (since the change is probably super trivial, msg = task.coro.send(next_send)
-> context = contextvars.copy_context(); msg = context.run(task.coro.send, next_send)
or similar.), and I don't know how that would be solved.
Metadata
Metadata
Assignees
Labels
No labels