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 all messages that are currently ready.


Is there a message that has been received?

class IPython.kernel.inprocess.blocking.BlockingInProcessStdInChannel(*args, **kwds)

Bases: IPython.kernel.inprocess.blocking.BlockingInProcessChannel


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