Kevin Mai-Hsuan Chia <[email protected]> added the comment:
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())
```
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue36074>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com