Phillip J. Eby ha scritto:
> [...]
> Yep, but another argument in favor of getting rid of as much 
> statefulness from the protocol as we can.  Making the status and headers 
> part of the return value entirely eliminates the question of when 
> they're going to get written, and whether they can be changed.
> 
> (As a side benefit, making the return a 3-tuple makes it impossible to 
> write a WSGI app using a single generator -- thereby discouraging people 
> from using 'yield' like it was a CGI "print".)
> 


Wait, what do you mean by """As a side benefit, making the return a 
3-tuple makes it impossible to write a WSGI app using a single generator"""?

And what do you mean by """getting rid of as much
statefulness from the protocol as we can"""?


Regards  Manlio Perillo
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to