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 摘要。