ipython / ipython/ipykernel

Async/concurrent cell execution

未關閉
#696 1 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
734
分支
412
平均合併
1 天 5 小時
30 天內合併 PR
8

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。