Tweeted By @joelgrus
The other half of my concern is that modifying the kernel from within the kernel (you guessed it) makes your code harder to reason about. For example, you could imagine a situation like
— Joel Grus (@joelgrus) December 12, 2018
[1] import torch
[2] x = torch.tensor(1)
[3] %pip install torch==1.0.0
[4] y = x.sum()
8/13