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.
If this kernel handles custom messages (see CommManager), a CommManager to receive messages.
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 commManagerOpt returns a CommManager.
See CommManager for more details about custom messages.
Called in response to the Shutdown message, after a reply has been sent, in order to shutdown the JVM.
Called in response to the Shutdown message, after a reply has been sent, in order to shutdown the JVM. Exit code zero indicates intentional shutdown as opposed to error condition.