We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b24ef47 + 78bee89 commit a23eadcCopy full SHA for a23eadc
ipykernel/kernelapp.py
@@ -377,8 +377,8 @@ def init_gui_pylab(self):
377
# replace error-sending traceback with stderr
378
def print_tb(etype, evalue, stb):
379
print ("GUI event loop or pylab initialization failed",
380
- file=io.stderr)
381
- print (shell.InteractiveTB.stb2text(stb), file=io.stderr)
+ file=sys.stderr)
+ print (shell.InteractiveTB.stb2text(stb), file=sys.stderr)
382
shell._showtraceback = print_tb
383
InteractiveShellApp.init_gui_pylab(self)
384
finally:
0 commit comments