Closed
Description
Bug report
Bug description:
After creating a UNIX socket server with loop.create_unix_server()
and then closing it using Server.close()
, then the UNIX socket file is still left on disk.
Although asyncio itself can handle this on the next startup since #72585, it's still a bit rude (and confusing) to leave stale things around on the file system.
Callers can make sure to pair Server.close()
with an os.unlink()
. But it would be a lot neater if Python could automatically do this, as basically everyone should do it anyway.
CPython versions tested on:
3.9
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Done