##// END OF EJS Templates
Send shutdown message when exiting ipython console
Thomas Kluyver -
Show More
@@ -413,6 +413,8 b' class ZMQTerminalInteractiveShell(TerminalInteractiveShell):'
413 # this should not be necessary, but KeyboardInterrupt
413 # this should not be necessary, but KeyboardInterrupt
414 # handling seems rather unpredictable...
414 # handling seems rather unpredictable...
415 self.write("\nKeyboardInterrupt in interact()\n")
415 self.write("\nKeyboardInterrupt in interact()\n")
416
417 self.client.shell_channel.shutdown()
416
418
417 def _banner1_default(self):
419 def _banner1_default(self):
418 return "IPython Console {version}\n".format(version=release.version)
420 return "IPython Console {version}\n".format(version=release.version)
General Comments 0
You need to be logged in to leave comments. Login now