Author Jonathan Slenders
Recipients Jonathan Slenders, asvetlov, vstinner, yselivanov
Date 2019-12-10.17:49:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576000164.77.0.0299901287377.issue39010@roundup.psfhosted.org>
In-reply-to
Content
It looks like the following code will reproduce the issue:

```
import asyncio
import threading

loop = asyncio.get_event_loop()

while True:
    def test():
        loop.call_soon_threadsafe(loop.stop)

    threading.Thread(target=test).start()
    loop.run_forever()

```

Leave it running on Windows, in Python 3.8 for a few seconds, then it starts spawning `ConnectionResetError`s.
History
Date User Action Args
2019-12-10 17:49:24Jonathan Slenderssetrecipients: + Jonathan Slenders, vstinner, asvetlov, yselivanov
2019-12-10 17:49:24Jonathan Slenderssetmessageid: <1576000164.77.0.0299901287377.issue39010@roundup.psfhosted.org>
2019-12-10 17:49:24Jonathan Slenderslinkissue39010 messages
2019-12-10 17:49:24Jonathan Slenderscreate