Open colinjbrown opened 5 years ago
Interesting this issue still exists in the lab extension
I think there is a question about what should happen here. In ipykernel in last_expr_or_assign
ast_node_interactivity mode, no output is shown for a statement like b = c = 12
. For us, showing no output seems incorrect. We could show just b
or both b
and c
as outputs, but what would be the point of the second option? I would argue that having just b
or in the case of the example above, a
and b
, would be the correct outputs.
When assigning to multiple elements instead of choosing one or the other part or both all parts of the assignment is ignored and instead nothing is output.
To Reproduce: