GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — asyncio._SelectorSocketTransport: help garbage collector · Issue #100348 · python/cpython

asyncio._SelectorSocketTransport: help garbage collector #100348

New issue
Copy link
New issue
Copy link
Closed
#100349
Closed
asyncio._SelectorSocketTransport: help garbage collector#100348
#100349
Copy link
Labels
type-featureA feature request or enhancementA feature request or enhancement

Description

@rkojedzinszky
rkojedzinszky
opened on Dec 19, 2022
Issue body actions

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

  • gh-100348: asyncio._SelectorSocketTransport: free cyclic reference on close() #100349

Activity

  1. rkojedzinszky
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Dec 19, 2022
  2. kumaraditya303
    closed this as completedin #100349on Dec 20, 2022
  3. kumaraditya303
    added a commit that references this issue on Dec 20, 2022

    gh-100348: Fix ref cycle in `asyncio._SelectorSocketTransport` with `…

    a6331b6
  4. jonburdo
    added a commit that references this issue on Dec 20, 2022

    pythongh-100348: Fix ref cycle in `asyncio._SelectorSocketTransport` …

    77d160f
  5. iritkatriel
    added a commit that references this issue on Dec 28, 2022

    Merged main into regmachine branch (#50)

    fdc73cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.