Enable restrictions on use of STDOUT.
A well behaved Python WSGI application should never attempt to write any
data directly to
sys.stdout or use the
sys.stdout it could interfere
with the operation of the WSGI adapter and result in corruption of the
In the interests of promoting portability of WSGI applications, mod_wsgi
restricts access to
sys.stdout and will raise an exception if an
attempt is made to use
The only time that one might want to remove this restriction is purely out
of convencience of being able to use the
sys.stdout are removed, any data written to
it will instead be sent through to
sys.stderr and will appear in
the Apache error log file.