ipython / ipython/ipykernel

Async/concurrent cell execution

Aperta
#696 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
734
Fork
412
Merge medio
1g 5h
PR unite (30g)
8

Descrizione

With ipykernel it is already possible to `await` at the top-level. [akernel](https://github.com/davidbrochart/akernel) takes this behavior one step further by launching each cell in a task, allowing for concurrent cell execution. This will open up new possibilities, and it can already be a solution to [difficult problems related to ipywidgets](https://github.com/davidbrochart/akernel/issues/2).
A similar attempt was done in https://github.com/ipython/ipython/pull/11347 by @Carreau, although I think the approach is very different.
Do you think it could be interesting/possible to have ipykernel support this kind of behavior?

cc @ilyabo @kylebarron

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.