On Sun, 13 May 2012 14:02:50 +0300 anatoly techtonik <techto...@gmail.com> wrote: > There is fear and uncertainty in this pull request to PyPI - > https://bitbucket.org/techtonik/pypi-techtonik/changeset/5396f8c60d49#comment-18915 > - which is about that writing to stderr _might_ break things in WSGI > applications. > > As a consequence logging to console will not be accepted in debug > mode, which is disappointing, but not as disappointing as the absence > of proper explanation. Martin couldn't provide any grounds for his > fears, so I am asking fellow Python developers if anybody remember "if > writing to stderr can break things in generic WSGI application" and > reassure Martin that everything will be ok.
According to this blog post, writing to stderr is fine (stdout is not): http://blog.dscpl.com.au/2009/04/wsgi-and-printing-to-standard-output.html Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com