3 ms·
> see especially the context local proxies in Flask (request, session); these look like global module imports, but they're actually request specific despite not
by JodieBenitez 11mo ago
> see especially the context local proxies in Flask (request, session); these look like global module imports, but they're actually request specific despite not being passed into your handlers... eek
I guess that was a Bottle thing that Armin Ronacher borrowed: https://bottlepy.org/docs/dev/api.html#request-context https://bottlepy.org/docs/dev/api.html#request-context
A bad idea in retrospect, but hard to change now: https://github.com/bottlepy/bottle/issues/761 https://github.com/bottlepy/bottle/issues/761