This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Gobot1234
Recipients Gobot1234, asvetlov, yselivanov
Date 2020-10-28.16:59:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603904364.33.0.601096284613.issue42183@roundup.psfhosted.org>
In-reply-to
Content
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).
History
Date User Action Args
2020-10-28 16:59:24Gobot1234setrecipients: + Gobot1234, asvetlov, yselivanov
2020-10-28 16:59:24Gobot1234setmessageid: <1603904364.33.0.601096284613.issue42183@roundup.psfhosted.org>
2020-10-28 16:59:24Gobot1234linkissue42183 messages
2020-10-28 16:59:24Gobot1234create