Current line count.
Current line count.
Should be increased each time execute is called with store_history
set to true
.
Executes some code.
Executes some code.
resulting ExecuteResult
KernelInfo of this kernel.
KernelInfo of this kernel.
Sent to frontends via a kernel_info_reply
each time a kernel_info_request
is received.
Asynchronously try to complete code.
Asynchronously try to complete code.
This is normally called before complete(). If this returns a non-empty option, it is assumed asynchronous completions are supported. Else, complete() is called.
Asynchronously try to inspect code.
Asynchronously try to inspect code.
This is normally called before inspect(). If this returns a non-empty option, it is assumed asynchronous inspections are supported. Else, inspect() is called.
Asynchronously try to check whether some code is complete.
Asynchronously try to check whether some code is complete.
This is normally called before isComplete(). If this returns a non-empty option, it is assumed asynchronous completion checks are supported. Else, isComplete() is called.
Tries to complete code.
Tries to complete code.
Performs any heavyweight initialization.
Interrupts the kernel, likely when execute or complete are running.
Whether this kernel can be interrupted via a call to interrupt.
Whether the passed code is complete.
Whether the passed code is complete.
Mostly used by jupyter console
, to know whether the code entered should be evaluated or
a new prompt should be displayed for the entered code to be completed.
Provides a CommHandler that this kernel can use to send custom messages to the frontend.
Provides a CommHandler that this kernel can use to send custom messages to the frontend.
Called prior to any call to execute, if and only if supportComm is true.
See CommHandler for more details about custom messages.
Called in response to a shutdown message, before a reply has been sent.
Whether this kernel handles custom messages (see CommHandler).