Inheritance diagram for IPython.kernel.core.history:
Manage the input and output history of the interpreter and the frontend.
There are 2 different history objects, one that lives in the interpreter, and one that lives in the frontend. They are synced with a diff at each execution of a command, as the interpreter history is a real stack, its existing entries are not mutable.
Bases: IPython.kernel.core.history.History
An object managing the input and output history at the frontend. It is used as a local cache to reduce network latency problems and multiple users editing the same thing.
Adds the given command list to the stack of executed commands.
Bases: IPython.kernel.core.history.History
An object managing the input and output history at the interpreter level.
Returns the history string at index, where index is the distance from the end (positive).
Returns the list of the commands entered after index.
Add the input and output caches into the interpreter’s namespace with IPython-conventional names.
Parameters : | namespace : dict |
---|
Update the history objects that this object maintains and the interpreter’s namespace.
Parameters : | interpreter : Interpreter python : str
|
---|