ipython / ipython/ipykernel

`_eventloop_set` event called from non-async context

未关闭
#1,292 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
734
派生
412
平均合并
1 天 5 小时
30 天内合并 PR
8

描述

The `_eventloop_set` AnyIO event cannot be set [here](https://github.com/ipython/ipykernel/blob/8cc1ee3b71de8273ca0fba4a560406adc05fdfde/ipykernel/kernelbase.py#L558), because it may be called from a non-async context. This event was introduced in https://github.com/ipython/ipykernel/pull/1265 and the issue was revealed in https://github.com/ipython/ipykernel/pull/1291 when running on a trio backend.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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