From cc0350f4c246edffc7f6c47a8f66f97f74644cd1 2014-12-05 01:49:40 From: Thomas Kluyver Date: 2014-12-05 01:49:40 Subject: [PATCH] Restore QtInProcessHBChannel class --- diff --git a/IPython/qt/inprocess.py b/IPython/qt/inprocess.py index 4db0f65..e6efafc 100644 --- a/IPython/qt/inprocess.py +++ b/IPython/qt/inprocess.py @@ -55,7 +55,12 @@ class QtInProcessChannel(SuperQObject, InProcessChannel): """ super(QtInProcessChannel, self).flush() self.process_events() - + + +class QtInProcessHBChannel(SuperQObject, InProcessHBChannel): + # This signal will never be fired, but it needs to exist + kernel_died = QtCore.Signal() + class QtInProcessKernelClient(QtKernelClientMixin, InProcessKernelClient): """ An in-process KernelManager with signals and slots. @@ -64,7 +69,7 @@ class QtInProcessKernelClient(QtKernelClientMixin, InProcessKernelClient): iopub_channel_class = Type(QtInProcessChannel) shell_channel_class = Type(QtInProcessChannel) stdin_channel_class = Type(QtInProcessChannel) - hb_channel_class = Type(InProcessHBChannel) + hb_channel_class = Type(QtInProcessHBChannel) class QtInProcessKernelManager(QtKernelManagerMixin, InProcessKernelManager): client_class = __module__ + '.QtInProcessKernelClient'