Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Listening asyncio UNIX socket isn't removed on close #111246

Closed
Labels
@CendioOssman

Description

@CendioOssman

Bug report

Bug description:

After creating a UNIX socket server withloop.create_unix_server() and then closing it usingServer.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 pairServer.close() with anos.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

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp