This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mhchia
Recipients docs@python, eamanu, mhchia
Date 2019-02-22.13:20:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550841651.29.0.363333958227.issue36074@roundup.psfhosted.org>
In-reply-to
Content
Excuse me, I tried 3.7.2 and 3.8.0a1+ with the following code and still failed. Could you help me to try this? or can you give me a pointer to the code returning `None`? Sorry for the inconvenience and thanks a lot.
```
import asyncio
import platform


async def close_server():
    def handler(reader, writer):
        pass
    s = await asyncio.start_server(handler, host='127.0.0.1', port=34567)
    s.close()
    await s.wait_closed()
    assert s.sockets is None


print("version: ", platform.python_version())
asyncio.get_event_loop().run_until_complete(close_server())
```
History
Date User Action Args
2019-02-22 13:20:51mhchiasetrecipients: + mhchia, docs@python, eamanu
2019-02-22 13:20:51mhchiasetmessageid: <1550841651.29.0.363333958227.issue36074@roundup.psfhosted.org>
2019-02-22 13:20:51mhchialinkissue36074 messages
2019-02-22 13:20:51mhchiacreate