[issue45351] asyncio doc: List all sockets in TCP echo server using streams

2021-10-11 Thread STINNER Victor
STINNER Victor added the comment: Thanks Olaf van der Spek, I merged your PR and backported it to 3.9 and 3.10 branches. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python

[issue45351] asyncio doc: List all sockets in TCP echo server using streams

2021-10-11 Thread miss-islington
miss-islington added the comment: New changeset 320084fe7de90319928d8f3e597d5bca04db13f3 by Miss Islington (bot) in branch '3.9': bpo-45351, asyncio: Enhance echo server example, print all addresses (GH-28828) https://github.com/python/cpython/commit/320084fe7de90319928d8f3e597d5bca04db13f3

[issue45351] asyncio doc: List all sockets in TCP echo server using streams

2021-10-11 Thread miss-islington
miss-islington added the comment: New changeset bb4f885892be0c337db3a81ef2936be0b3855de3 by Miss Islington (bot) in branch '3.10': bpo-45351, asyncio: Enhance echo server example, print all addresses (GH-28828) https://github.com/python/cpython/commit/bb4f885892be0c337db3a81ef2936be0b3855de3

[issue45351] asyncio doc: List all sockets in TCP echo server using streams

2021-10-11 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +27174 pull_request: https://github.com/python/cpython/pull/28879 ___ Python tracker

[issue45351] asyncio doc: List all sockets in TCP echo server using streams

2021-10-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +27175 pull_request: https://github.com/python/cpython/pull/28880 ___ Python tracker ___

[issue45351] asyncio doc: List all sockets in TCP echo server using streams

2021-10-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 659812b451aefe1f0e5f83540296519a5fb8f313 by Olaf van der Spek in branch 'main': bpo-45351, asyncio: Enhance echo server example, print all addresses (GH-28828) https://github.com/python/cpython/commit/659812b451aefe1f0e5f83540296519a5fb8f313

[issue45351] asyncio doc: List all sockets in TCP echo server using streams

2021-10-09 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 4.0 -> 5.0 pull_requests: +27144 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28828 ___ Python tracker

[issue45351] asyncio doc: List all sockets in TCP echo server using streams

2021-10-08 Thread STINNER Victor
STINNER Victor added the comment: I agree that all socket addresses must be listed. But I would prefer to write a single line. Maybe something like: addresses = ', '.join(sock.getsockname() for sock in server.sockets) print('Serving on {addresses}') Do you want to propose a PR to enhance