Closed
Description
We currently don't support any asynchronous Python frameworks like Twisted, Tornado & Co. Supporting these frameworks is inherently difficult due to the fact that we made a lot of design decisions on the assumption that a thread only handles a single request at a time. This is not true for async frameworks.
There are some ways we could achieve at least some support for Twisted by storing data of the current transaction on the request handler instead of a thread local. Similar workarounds may or may not exist for other async frameworks.
In the future, we may be able to use execution contexts as proposed by PEP 550, but this will take some time until it is available.
Metadata
Metadata
Assignees
Labels
No labels