Message336304
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())
``` |
|
Date |
User |
Action |
Args |
2019-02-22 13:20:51 | mhchia | set | recipients:
+ mhchia, docs@python, eamanu |
2019-02-22 13:20:51 | mhchia | set | messageid: <1550841651.29.0.363333958227.issue36074@roundup.psfhosted.org> |
2019-02-22 13:20:51 | mhchia | link | issue36074 messages |
2019-02-22 13:20:51 | mhchia | create | |
|