ipython / ipython/ipykernel

Async/concurrent cell execution

Offen
#696 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
734
Forks
412
Ø Merge
1 T. 5 Std.
Gemergte PRs (30 T.)
8

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.