Async/concurrent cell execution

未关闭
#696 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
jupyter, python
领域
backend

调研方向

首先比较 ipykernel 当前对 top-level await 的行为与 akernel 基于任务的并发单元格执行。阅读所引用的 IPython pull request 11347 以及链接的 akernel ipywidgets issue,以了解不同的方法和要求。只有确定了 ipykernel 是否应支持并发单元格执行,以及应如何支持的设计后,才算完成。

由索引模型根据 Issue 内容生成。

描述

With ipykernel it is already possible to await at the top-level. 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.
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

主要语言
Python
星标
734
派生
411
平均合并
1 天 2 小时
30 天内合并 PR
9

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ipython/ipykernel 的其他 Issue

查看 ipython/ipykernel 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。