Skip to content

asyncio._SelectorSocketTransport: help garbage collector #100348

Closed
@rkojedzinszky

Description

@rkojedzinszky

Feature or enhancement

Debugging an asyncio application I've found that many _SelectorSocketTransport objects end up listed in gc.garbage instead of being released as soon as possible.

Pitch

We could release resources as soon as possible, and avoid this task to be done by gc.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions