Cannot interrupt top-level coroutine
Đang mở
bug
- Ngôn ngữ chính
- Python
- Star
- 734
- Fork
- 412
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.