Jonathan Slenders <[email protected]> added the comment:
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.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39010>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com