Fix usage of stdout_capture with multiple threads The StdoutStack() thread-local object is initialized for non-main threads after sys.stdout has been replaced, so we need to save a copy of the original sys.stdout aside for later usage. http://www.reinteract.org/trac/ticket/30
Fix usage of stdout_capture with multiple threads
The StdoutStack() thread-local object is initialized for non-main
threads after sys.stdout has been replaced, so we need to save a
copy of the original sys.stdout aside for later usage.
http://www.reinteract.org/trac/ticket/30

jbaayen/reinteract,alexey4petrov/reinteract,johnrizzo1/reinteract,rschroll/reinteract,jbaayen/reinteract,jbaayen/reinteract,johnrizzo1/reinteract,rschroll/reinteract,alexey4petrov/reinteract,alexey4petrov/reinteract,rschroll/reinteract,johnrizzo1/reinteract