Re: [Web-SIG] [RFC] x-wsgiorg.suspend extension

2010-04-11 Thread Graham Dumpleton
On 12 April 2010 06:07, Manlio Perillo wrote: > I'm not sure about the correct procedure to follow, I hope it is not a > problem. > > I here propose the x-wsgiorg.suspend to be accepted as official WSGI > extension, using the wsgiorg namespace. > > The extension is documented in doc/wsgiorg.suspen

Re: [Web-SIG] wsgi and generators (was Re: WSGI and start_response)

2010-04-11 Thread Manlio Perillo
P.J. Eby ha scritto: > At 02:04 PM 4/10/2010 +0100, Chris Dent wrote: >> I realize I'm able to build up a complete string or yield via a >> generator, or a whole bunch of various ways to accomplish things >> (which is part of why I like WSGI: that content is just an iterator, >> that's a good thing

Re: [Web-SIG] [ANN] twsgi: asynchronous WSGI implementation for Twisted Web

2010-04-11 Thread Manlio Perillo
Gustavo Narea ha scritto: > Hello, > > Maybe I'm missing something obvious, but if the gateway doesn't support > applications that return write() callables, then it's not WSGI. > > A callable that raises an exception does not even count. It's obvious > that they must not raise exceptions -- Then

[Web-SIG] [RFC] x-wsgiorg.suspend extension

2010-04-11 Thread Manlio Perillo
I'm not sure about the correct procedure to follow, I hope it is not a problem. I here propose the x-wsgiorg.suspend to be accepted as official WSGI extension, using the wsgiorg namespace. The extension is documented in doc/wsgiorg.suspend.rst document in the txwsgi source distribution, available

[Web-SIG] [ANN] txwsgi 0.1

2010-04-11 Thread Manlio Perillo
I'm pleased to announce txwsgi, version 0.1. txwsgi is a fork of twisted.web.wsgi, that, unlike the original implementation, executes the WSGI application in the main I/O thread. txwsgi implements the proposed x-wsgiorg.suspend extension, that enables support to asynchronous WSGI applications. S