Skip to content

Commit a23eadc

Browse files
committed
Merge pull request #117 from takluyver/no-utils-io-std
Use sys.stderr instead of IPython.utils.io.stderr
2 parents b24ef47 + 78bee89 commit a23eadc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipykernel/kernelapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ def init_gui_pylab(self):
377377
# replace error-sending traceback with stderr
378378
def print_tb(etype, evalue, stb):
379379
print ("GUI event loop or pylab initialization failed",
380-
file=io.stderr)
381-
print (shell.InteractiveTB.stb2text(stb), file=io.stderr)
380+
file=sys.stderr)
381+
print (shell.InteractiveTB.stb2text(stb), file=sys.stderr)
382382
shell._showtraceback = print_tb
383383
InteractiveShellApp.init_gui_pylab(self)
384384
finally:

0 commit comments

Comments
 (0)