ipython / ipython/ipykernel

Async/concurrent cell execution

Ouverte
#696 1 commentaire 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
734
Forks
412
Merge moyen
1 j 5 h
PR mergées (30 j)
8

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.