Inheritance diagram for IPython.core.compilerop:
Compiler tools with improved interactive support.
Provides compilation machinery similar to codeop, but with caching support so we can provide interactive tracebacks.
A compiler that caches code compiled from interactive statements.
Make a name for a block of code, and cache the code.
code : str
number : int
The name of the cached code (as a string). Pass this as the filename :
argument to compilation, so that tracebacks are correctly hooked up. :
Call linecache.checkcache() safely protecting our cached values.
Flags currently active in the compilation process.
Compute a (probably) unique name for code for caching.
This now expects code to be unicode.