Cannot interrupt top-level coroutine
Ouverte
bug
- Langage dominant
- Python
- Étoiles
- 734
- Forks
- 412
- Merge moyen
- 1 j 5 h
- PR mergées (30 j)
- 8
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.