vatlab / sos-notebook

Multi-language Jupyter Notebook
http://vatlab.github.io/SoS
BSD 3-Clause "New" or "Revised" License
177 stars 17 forks source link

pass-through effect of cross-subkernel variable transfer. #252

Closed BoPeng closed 5 years ago

BoPeng commented 5 years ago

Variable transfer between two subkernels can be done directly, without involving SoS, image

But most of the time such variable transfer will involve SoS, so the variable will implicitly be available in SoS, potentially overriding variables in SoS.

image

Perhaps we should do something to avoid this pass-through effect?

BoPeng commented 5 years ago

Fixed by saving and restoring relevant variables in the SoS kernel.