Commit d5ce1ecd authored by Romain Casati's avatar Romain Casati

Exposing locals in kernel.

parent 696f81d7
......@@ -26,6 +26,11 @@ importlib.invalidate_caches()
_console = InteractiveConsole()
def locals():
""" Global evaluation namespace. """
return _console.locals
def display_event(data):
""" Dispatching eval.display event with display data. """
display_data = {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment