From 23436149984526d09bb08b7bdaf62bbbfdd74710 2013-04-27 00:02:28 From: MinRK Date: 2013-04-27 00:02:28 Subject: [PATCH] make BlockingKernelClient the default Client the default Client class returned by `KernelManager.client()` should be BlockingKernelClient, because the base KernelClient is incomplete. Ultimately, the base KernelClient will probably become a blocking client, and the Blocking subclass will go away. --- diff --git a/IPython/kernel/manager.py b/IPython/kernel/manager.py index cd30195..8b66fbc 100644 --- a/IPython/kernel/manager.py +++ b/IPython/kernel/manager.py @@ -59,7 +59,7 @@ class KernelManager(LoggingConfigurable, ConnectionFileMixin): return Session(config=self.config) # the class to create with our `client` method - client_class = DottedObjectName('IPython.kernel.client.KernelClient') + client_class = DottedObjectName('IPython.kernel.blocking.BlockingKernelClient') client_factory = Type() def _client_class_changed(self, name, old, new): self.client_factory = import_item(str(new))