'Reimplemented to handle communications between Spyder
and the kernel'

def _handle_execute_reply(self, msg):

    msg_id = msg['parent_header']['msg_id']
    info = self._request_info['execute'].get(msg_id)
    self._reading = False
    exec_count = msg['content'].get('execution_count', '')
    if ((exec_count == 0) and self._kernel_is_starting):
        if (self.namespacebrowser is not None):
            self.set_namespace_view_settings()
            self.refresh_namespacebrowser()
        self._kernel_is_starting = False
    if (info and (info.kind == 'silent_exec_method') and (not self._hidden)):
        self.handle_exec_method(msg)
        self._request_info['execute'].pop(msg_id)
    else:
        super(NamepaceBrowserWidget, self)._handle_execute_reply(msg)
