[Web-SIG] wsgi.errors and close method

Manlio Perillo manlio_perillo at libero.it
Sat Mar 27 20:10:15 CET 2010


Hi.

Some time ago, someone reported me that an application embedded in Nginx
with my WSGI module failed to execute, since in my implementation the
wsgi.errors object does not implement the .close method.

The same object type is used to replace sys.stderr.

Of course, both trying to close wsgi.errors and sys.stderr means an
application/framework is broken, IMHO.

Unfortunately I never got to know what application or framework was
causing the problem.

Any idea?


Thanks  Manlio


More information about the Web-SIG mailing list