Manlio Perillo ha scritto: > 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. > > [...] > Any idea? >
Here is the culprit: http://lists.alioth.debian.org/pipermail/python-modules-team/2009-January/003514.html http://code.google.com/p/modwsgi/issues/detail?id=82 So it seems safe, when the Log object used in wsgi.errors is also used to replace sys.stderr, to just add the closed attribute (but *not* the close method). Thanks Manlio _______________________________________________ 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