Message379837
Using asyncio.wait_for and asyncio.all_tasks in combination causes a stack overflow error.
Code to reproduce issue:
```
import asyncio
async def func():
return asyncio.all_tasks()
async def main():
print(await asyncio.wait_for(func(), timeout=10))
asyncio.run(main())
```
I'm not too sure how far back this goes but I've managed to reproduce it on sys.version_info(major=3, minor=8, micro=0, releaselevel='final', serial=0) and sys.version_info(major=3, minor=9, micro=0, releaselevel='final', serial=0). |
|
Date |
User |
Action |
Args |
2020-10-28 16:59:24 | Gobot1234 | set | recipients:
+ Gobot1234, asvetlov, yselivanov |
2020-10-28 16:59:24 | Gobot1234 | set | messageid: <1603904364.33.0.601096284613.issue42183@roundup.psfhosted.org> |
2020-10-28 16:59:24 | Gobot1234 | link | issue42183 messages |
2020-10-28 16:59:24 | Gobot1234 | create | |
|