Cannot interrupt top-level coroutine
Offen
bug
- Vorherrschende Sprache
- Python
- Sterne
- 734
- Forks
- 412
- Ø Merge
- 1 T. 5 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.