[BangPypers] #lazyweb - How would the wsgi lite proposal help in ..

Dhananjay Nene dhananjay.nene at gmail.com
Mon Aug 1 14:51:21 CEST 2011


On Mon, Aug 1, 2011 at 5:41 PM, Anand Chitipothu <anandology at gmail.com> wrote:
> 2011/8/1 Dhananjay Nene <dhananjay.nene at gmail.com>:
>> [..]
>>
>> How could the above proposal (if it does) help in
>>
>> a) Creating simpler, lighter frameworks (eg. flask)
>> b) Help support greater asynchronicity (a la tornado, node.js etc.)
>
> WSGILite looks just like a syntactic sugar for changing:
>
> def app(env, start_response):
>    ...
>    start_response(status, headers)
>    ...
>    return body
>
> to
>
> @lite
> def app(env):
>    return status, headers, body
>
> I don't see how it is solving the async problem.
>
Thanks. That will probably save me some time :)

Dhananjay


More information about the BangPypers mailing list