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 — Various reference leaks in the core · Issue #145376 · python/cpython

Various reference leaks in the core #145376

New issue
Copy link
New issue
Copy link
Closed
Closed
Various reference leaks in the core#145376
Copy link
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@JelleZijlstra
JelleZijlstra
opened on Mar 1, 2026
Issue body actions

Bug report

Bug description:

I found a handful of reference leaks in the core using Codex. PR incoming.

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

  • gh-145376: Fix various reference leaks #145377
  • gh-145376: Fix various reference leaks objects and modules #145385
  • gh-145376: Fix reference leaks in _collectionsmodule.c #145421
  • gh-145376: Fix null pointer deref in md5module.c #145422
  • gh-145376: Avoid reference leaks in failure path of _functoolsmodule.c method partial_new #145423
  • gh-145376: Fix refleak in unusual error path in BaseExceptionGroup_new #145474
  • gh-145376: Fix refleak and null pointer deref in unusual error path of datetime module #145476
  • gh-145376: Fix refleak in error path of time_tzset #145477
  • gh-145376: Fix reference leak in _lprof.c #145539
  • gh-145376: Fix refleak in _queuemodule.c out-of-memory path #145543
  • gh-145376: Fix various refleaks Objects/ #145609
  • [3.14] gh-145376: Fix crashes in md5module.c and hmacmodule.c (GH-145422) #145610
  • [3.13] gh-145376: Fix crashes in md5module.c (GH-145422) #145611
  • [3.13] gh-145376: Fix refleak in queuemodule.c out-of-memory path (GH-145543) #145621
  • [3.14] gh-145376: Fix refleak in queuemodule.c out-of-memory path (GH-145543) #145622
  • gh-145376: Fix refleaks and double decref for code in Python/ #145666
  • gh-145376: Fix _cursesmodule.c build on FreeBSD/macOS #145669
  • gh-145376: Fix refleak bug and pointer type bug in Parser/ #145684
  • [3.14] gh-145376: Fix various reference leaks (GH-145377) #145712
  • gh-145376: Fix GC tracking in structseq.__replace__ #145820
  • [3.14] gh-145376: Fix GC tracking in structseq.__replace__ (GH-145820) #145922
  • [3.13] gh-145376: Fix GC tracking in structseq.__replace__ (GH-145820) #145924
  • [3.13] gh-145376: Fix various reference leaks (GH-145377) #148661
Reacted by An Long

Activity

Next
  1. JelleZijlstra
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Mar 1, 2026
  2. JelleZijlstra
    added 2 commits that reference this issue on Mar 1, 2026

    pythongh-145376: Fix various reference leaks

    9ef7a62

    pythongh-145376: Fix various reference leaks

    c29f2ca
  3. StanFromIreland
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on Mar 1, 2026
  4. encukou
    added 4 commits that reference this issue on Mar 3, 2026

    gh-145376: Fix various reference leaks (GH-145377)

    bd13cc0

    gh-145376: Fix refleak in error path of time_tzset (GH-145477)

    3fe7849

    gh-145376: Avoid reference leaks in failure path of _functoolsmodule.…

    f9dac4e

    gh-145376: Fix refleak in unusual error path in BaseExceptionGroup_new (

    18aec59
  5. vstinner
    added a commit that references this issue on Mar 4, 2026

    gh-145376: Fix reference leaks in deque (#145421)

    1aa1d76
  6. encukou
    added a commit that references this issue on Mar 5, 2026

    gh-145376: Fix refleak and null pointer deref in unusual error path o…

    0eaf260
  7. picnixz
    added a commit that references this issue on Mar 6, 2026

    gh-145376: Fix crashes in `md5module.c` and `hmacmodule.c` (#145422)

    c1d7768
  8. miss-islington
    added a commit that references this issue on Mar 6, 2026

    pythongh-145376: Fix crashes in `md5module.c` and `hmacmodule.c` (pyt…

    bbc0db7
  9. eendebakpt
    added a commit that references this issue on Mar 6, 2026

    pythongh-145376: Fix crashes in md5module.c

    3b1aa5f
  10. vstinner
    added 2 commits that reference this issue on Mar 6, 2026

    [3.14] gh-145376: Fix crashes in `md5module.c` and `hmacmodule.c` (GH…

    c23dd52

    [3.13] gh-145376: Fix crashes in md5module.c (GH-145422) (#145611)

    ae7206e
  11. 22 remaining items

  12. ljfp
    added 14 commits that reference this issue on Apr 25, 2026

    pythongh-145376: Fix refleak in error path of time_tzset (pythonGH-14…

    3d0ab00

    pythongh-145376: Avoid reference leaks in failure path of _functoolsm…

    bf76c33

    pythongh-145376: Fix refleak in unusual error path in BaseExceptionGr…

    51e2a10

    pythongh-145376: Fix reference leaks in deque (python#145421)

    a2bebd7

    pythongh-145376: Fix refleak and null pointer deref in unusual error …

    a56065d

    pythongh-145376: Fix crashes in `md5module.c` and `hmacmodule.c` (pyt…

    fb9693d

    pythongh-145376: Fix refleak in `queuemodule.c` out-of-memory path (p…

    684e45f

    pythongh-145376: Fix reference leaks in _lprof.c (python#145539)

    0a85ed2

    pythongh-145376: Fix various refleaks in Objects/ (python#145609)

    0b43869

    pythongh-145376: Fix various reference leaks in Objects/ and Modules/ (…

    7ddeb40

    pythongh-145376: Fix _cursesmodule.c build on FreeBSD/macOS (python#1…

    77a4a16

    pythongh-145376: Fix refleaks and double decref for code in Python/ (p…

    8232287

    pythongh-145376: Fix refleak & pointer type bug in uncommon code path…

    6aa8dff

    pythongh-145376: Fix GC tracking in `structseq.__replace__` (python#1…

    245f2ac
  13. StanFromIreland
    added a commit that references this issue on May 12, 2026

    [3.13] gh-145376: Fix various reference leaks (GH-145377) (#148661)

    ea8c3e0
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

    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    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.