threadlocals = app.context ?
Agreed, but that's the beauty of Flask you can just pass around the request context.
Agreed, but that's the beauty of Flask you can just pass around the request context.
Ideally request would be passed to view callables and would not be global. That is completely incompatible change so we will never see that I guess :(