Cannot interrupt top-level coroutine
Aberta
bug
- Linguagem predominante
- Python
- Estrelas
- 734
- Forks
- 412
- Merge médio
- 1d 5h
- PRs com merge (30d)
- 8
Descrição
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.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.