[Web-SIG] Direct use of sys.stdout, sys.stderr and sys.stdin in WSGI application.

Phillip J. Eby pje at telecommunity.com
Thu Mar 22 16:30:00 CET 2007


At 11:29 AM 3/22/2007 +0000, Alan Kennedy wrote:
>Strictly speaking, WSGI requires python 2.2,
>because of iterators.

Actually, it doesn't.  The pre-2.2 iterator protocol is to be used in such 
cases:

http://www.python.org/dev/peps/pep-0333/#supporting-older-2-2-versions-of-python



More information about the Web-SIG mailing list