You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FWIW, I'm not saying above behaviour is incorrect; just that docs should be upfront about the possibility / likelihood of situations like the above occurring and providing a straightforward way of interpreting that sort of situation (eg "this situation shows that the state of a has been changed elsewhere in the notebook since this cell was executed". It also makes the point that the cell is NOT executed? And makes me think - would it be useful to record the output of the cell when it is run for the first time, in order, from a fresh kernel, in metadata?)
In terms of advocacy, comparing "pathological" situations in reactivepy or simple Python kernel with the corresponding behaviour using the other / complementary kernel might be useful.
I just tried doing this in the binder examples, and now get a RedefiningOwnedCellException exception - it seems you can't re-define variables if they are defined in earlier cells. Looks like this has been a feature for a while though (#10), so not sure if I've missed a key point here @psychemedia?
One of the demos folk use to show how trad kernel state differs from cell output is to show that the output from a cell of the form:
is incorrect if you update
a
.But in
reactivepy
kernel, if I updatea
then the output of the original cell can become nonsense...I suspect folk who have a reason for why notebooks don't work in their situation will pick up on this.
The text was updated successfully, but these errors were encountered: