Inheritance diagram for IPython.frontend.prefilterfrontend:
Frontend class that uses IPython0 to prefilter the inputs.
Using the IPython0 mechanism gives us access to the magics.
This is a transitory class, used here to do the transition between ipython0 and ipython1. This class is meant to be short-lived as more functionnality is abstracted out of ipython0 in reusable functions and is added on the interpreter. This class can be a used to guide this refactoring.
Class that uses ipython0 to do prefilter the input, do the completion and the magics.
The core trick is to use an ipython0 instance to prefilter the input, and share the namespace between the interpreter instance used to execute the statements and the ipython0 used for code completion...
ipython0: an optional ipython0 instance to use for command :
prefiltering and completion. :
argv : list, optional
Store all the output hooks we can think of, to be able to restore them.
We need to do this early, as starting the ipython0 instance will screw ouput hooks.