STINNER Victor <vstin...@redhat.com> added the comment:

bug.py calls loop.run_forever() but nothing calls stops the loop. If you add 
loop.stop() to handle_incoming_connection(), the script exits properly as soon 
as a client connects and sends some data.

> 3. I press Ctrl-C in the DOS window.  Nothing happens.

This issue has been fixed by bpo-23057. So I qualify this issue as a duplicate 
of bpo-23057.

----------
nosy: +vstinner
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> [Windows] asyncio: support signal handlers on Windows (feature 
request)

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32661>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to