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
execution count more atomic, run_cell_async reenterable (#15088)
This pull request makes `run_cell_async` able to re-enter itself without
messing the history causing a new session. This solves issue #15087
The changes are to increment `execution_count` of `InteractiveShell`
_before_ running the user code in a cell, and some compatible changes so
that prompts and outputs get the correct `execution_count`.
With this change it's possible to modify frontends so that they can run
multiple cells concurrently. I've written a small one-file package on
top of ipykernel that shows this nicely and works well
https://github.com/drorspei/bgipykernel
0 commit comments