ipython / ipython/ipykernel

Cannot interrupt top-level coroutine

オープン
#881 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
734
フォーク
412
平均マージ
1日 5時間
マージ済み PR(30日)
8

説明

It looks like interrupting a cell execution which consists of awaiting a top-level coroutine, e.g.:
```python
import asyncio

async def main():
await asyncio.sleep(5)

await main()
```
doesn't take effect immediately, but once the coroutine completes execution.

See #880 for a test that reveals this bug.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。