Inheritance diagram for IPython.frontend.frontendbase:
frontendbase provides an interface and base class for GUI frontends for IPython.kernel/IPython.kernel.core.
Frontend implementations will likely want to subclass FrontEndBase.
Author: Barry Wark
Bases: object
Execute the block and return the result.
block : {str, AST} blockID : any
Caller may provide an ID to identify this block. result[‘blockID’] := blockID
Returns the current input prompt
It would be great to use ipython1.core.prompts.Prompt1 here
Determine if block is complete.
Parameters block : string
Result True if block can be sent to the engine without compile errors. False otherwise.
Subclasses must override to render the failure.
In asynchronous frontends, this method will be called as a twisted.internet.defer.Deferred’s callback. Implementations should thus return result when finished.
Subclasses must override to render result.
In asynchronous frontends, this method will be called as a twisted.internet.defer.Deferred’s callback. Implementations should thus return result when finished.
Subclass may override to update the input prompt for a block.
This method only really makes sens in asyncrhonous frontend. Since this method will be called as a twisted.internet.defer.Deferred’s callback, implementations should return result when finished.