xeus-python
xeus-python copied to clipboard
Interpreter ignores ast_node_interactivity = "all"
Xeus-python code appears to try to use the ast_node_interactivity values and imports IPython.core.interactiveshell.InteractiveShell but setting the value to "all" does not seem to impact how the outputs are displayed.
I entered the following in the first notebook cell:
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
In the default kernel, this will execute each node in the cell in interactive mode. In XPython I am seeing behavior consistent with ast_node_interactivity = "last", where just the final line/node is executed in interactive mode.
I am not sure if this is expected behavior. Perhaps there is a alternative import or a different ast_node_interactivity variable to change?