Closed
Description
When using the built-in event loop, you need to do something like this:
server = await asyncio.start_unix_server(client_connected, path=path)
try:
# ...
finally:
server.close()
await server.wait_closed()
os.unlink(path)
However, when I use uvloop, the os.unlink()
call raises a FileNotFoundError
exception.
I was wondering if you already know about this and if it is intentional?
I don't mind adding a try/except clause to silence the exception, but if you're aiming for this event loop to be a drop-in replacement for the built-in event loop, I guess you're going to want to change this?