[IPython-dev] Errors in ipython startup muted by Notebook?

Thomas Kluyver takowl at gmail.com
Wed Aug 6 19:37:54 EDT 2014

On 6 August 2014 14:47, Fernando Perez <fperez.net at gmail.com> wrote:

> Can you see what these give in one of your fully headless kernels?

In [6]: sys.__stderr__.fileno()
Out[6]: 2

In [7]: sys.__stderr__.isatty()
Out[7]: False

In [8]: sys.__stderr__.closed
Out[8]: False

So the difference is that it's not a TTY, which makes sense. I guess the
process launcher pipes stdout and stderr to a log file somewhere, or just
to /dev/null.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140806/013fb1bf/attachment.html>

More information about the IPython-dev mailing list