<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:1.2em 0px!important">I think we only do that when sys.executable is <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">pythonw.exe</code>, because the pipes fill up and cause the subprocess to hang after 1k of output is produced. We don’t redirect output to devnull in most cases.</p>
<p style="margin:1.2em 0px!important">In the IPython kernel, sys.stdout and sys.stderr are redirected over zmq, which initially doesn’t get received by anyone, so rarely shows up in UI (depending on frontend). If you want to see it in the terminal, you have to use <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">sys.__stdout__</code> and <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">sys.__stderr__</code>.</p>
<p style="margin:1.2em 0px!important">-MinRK</p>
<div title="MDH:SSB0aGluayB3ZSBvbmx5IGRvIHRoYXQgd2hlbiBzeXMuZXhlY3V0YWJsZSBpcyBgcHl0aG9udy5l
eGVgLCBiZWNhdXNlIHRoZSBwaXBlcyBmaWxsIHVwIGFuZCBjYXVzZSB0aGUgc3VicHJvY2VzcyB0
byBoYW5nIGFmdGVyIDFrIG9mIG91dHB1dCBpcyBwcm9kdWNlZC4gV2UgZG9uJ3QgcmVkaXJlY3Qg
b3V0cHV0IHRvIGRldm51bGwgaW4gbW9zdCBjYXNlcy48ZGl2Pjxicj48L2Rpdj48ZGl2PkluIHRo
ZSBJUHl0aG9uIGtlcm5lbCwgc3lzLnN0ZG91dCBhbmQgc3lzLnN0ZGVyciBhcmUgcmVkaXJlY3Rl
ZCBvdmVyIHptcSwgd2hpY2ggaW5pdGlhbGx5IGRvZXNuJ3QgZ2V0IHJlY2VpdmVkIGJ5IGFueW9u
ZSwgc28gcmFyZWx5IHNob3dzIHVwIGluIFVJIChkZXBlbmRpbmcgb24gZnJvbnRlbmQpLiBJZiB5
b3Ugd2FudCB0byBzZWUgaXQgaW4gdGhlIHRlcm1pbmFsLCB5b3UgaGF2ZSB0byB1c2UgYHN5cy5f
X3N0ZG91dF9fYCBhbmQgYHN5cy5fX3N0ZGVycl9fYC48YnI+PGRpdj48YnI+PC9kaXY+PGRpdj4t
TWluUks8L2Rpdj48L2Rpdj4=" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0"></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 16, 2015 at 9:21 AM, ssanderson <span dir="ltr"><<a href="mailto:ssanderson@quantopian.com" target="_blank">ssanderson@quantopian.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is a pain for developing extensions, and I can't think of any reason I<br>
would want to ignore kernel stdout/stderr, so I'm curious what the perceived<br>
benefits of this are.<br>
<br>
-Scott<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://python.6.x6.nabble.com/Why-are-stdout-and-stderr-sent-to-dev-null-by-default-in-kernels-tp5166925.html" rel="noreferrer" target="_blank">http://python.6.x6.nabble.com/Why-are-stdout-and-stderr-sent-to-dev-null-by-default-in-kernels-tp5166925.html</a><br>
Sent from the IPython - Development mailing list archive at Nabble.com.<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div><br></div>