Express restarts for Python
Restarting Basthon's Python kernel is now almost instant: about half a second, against three seconds before. You can start again from a clean state as often as needed, without waiting, in the console as in the notebook.
To achieve it, Basthon takes a snapshot of Python's memory just after it is loaded, before running a single line of code. At each restart, it starts again from this snapshot instead of reloading everything. Nothing of your code or your variables is in it: the kernel really restarts afresh.
The browser also keeps this snapshot from one visit to the next. From the second visit on, the kernel is ready in less than a second, instead of two and a half.
These speed-ups concern the isolated kernels, used by default. The legacy mode starts as before.