ipython/ipython — pull request #2926 by y-p (2013-02-12 23:47:54+00:00)
Title: Don't die if stderr/stdout do not support set_parent() #2925

If the user redirects the streams to a file for example,
the kernel would raise an exception because file
objects do not have set_parent defined, unlike ipython's
OutStream.
This happens even if the user does this in a spawned thread.

closes #2925