[IPython-dev] Kernel-client communication

Fernando Perez fperez.net@gmail....
Wed Sep 8 02:04:54 CDT 2010


On Fri, Sep 3, 2010 at 3:12 AM, Almar Klein <almar.klein@gmail.com> wrote:
> Well,  the kernel could be implemented in such a way that messages are
> received in a separate thread, which may also handle the introspection
> requests. Introspection (+history) will then still work if the process is
> busy (unless it's running extension code).

Except you want introspection to act on valid information, so you want
to either wait to have it evaluated on the real status of the kernel
(so f? doesn't tell you f is an integer when now it has become  a
function), or have it timeout and not give you anything.

Cheers,

f


More information about the IPython-dev mailing list