Olaf van der Spek <olafvds...@gmail.com> added the comment:

> server = await asyncio.start_server(handle_echo, '127.0.0.1', 8888)

If 127.0.0.1 is replaced by localhost, the server might listen on ::1 and 
127.0.0.1 but only one address will be printed, which is confusing (and wrong 
IMO).

So the output of the example isn't wrong if you don't change it, but the 
example code itself could be better.

----------

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

Reply via email to