[Web-SIG] Sketching a WSGI 2-to-1 adapter with greenlets

Armin Ronacher armin.ronacher at active-4.com
Sat Sep 19 02:09:29 CEST 2009


Hi,

Ian Bicking schrieb:
> What's wrong with this simpler approach to the conversion?
It buffers, you can no longer do this:

   request.write('processing data')
   request.flush()
   ...
   request.write('data processed')
   request.flush()

But that's not too common and people should rather rewrite their
applications to use generators for these cases.

Regards,
Armin


More information about the Web-SIG mailing list