Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
Module: kernel.inprocess.blocking¶
Implements a fully blocking kernel client.
Useful for test suites and blocking terminal interfaces.
3 Classes¶
-
class
IPython.kernel.inprocess.blocking.BlockingInProcessChannel(*args, **kwds)¶ Bases:
IPython.kernel.inprocess.channels.InProcessChannel-
__init__(*args, **kwds)¶
-
get_msg(block=True, timeout=None)¶ Gets a message if there is one that is ready.
-
get_msgs()¶ Get all messages that are currently ready.
-
msg_ready()¶ Is there a message that has been received?
-
-
class
IPython.kernel.inprocess.blocking.BlockingInProcessStdInChannel(*args, **kwds)¶ Bases:
IPython.kernel.inprocess.blocking.BlockingInProcessChannel-
call_handlers(msg)¶ Overridden for the in-process channel.
This methods simply calls raw_input directly.
-
-
class
IPython.kernel.inprocess.blocking.BlockingInProcessKernelClient(**kwargs)¶ Bases:
IPython.kernel.inprocess.client.InProcessKernelClient
