()
| 591 | async def await_without_task(coro): |
| 592 | exc = None |
| 593 | def func(): |
| 594 | try: |
| 595 | for _ in coro.__await__(): |
| 596 | pass |
| 597 | except BaseException as err: |
| 598 | nonlocal exc |
| 599 | exc = err |
| 600 | asyncio.get_running_loop().call_soon(func) |
| 601 | await asyncio.sleep(0) |
| 602 | if exc is not None: |
searching dependent graphs…