Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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

A bad idea in retrospect, but hard to change now: https://github.com/bottlepy/bottle/issues/761



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: