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 — Modifying offsets of existing members in _gc_runtime_state is probably a bad idea · Issue #149242 · python/cpython

Modifying offsets of existing members in _gc_runtime_state is probably a bad idea #149242

New issue
Copy link
New issue
Copy link
Closed
Closed
Modifying offsets of existing members in _gc_runtime_state is probably a bad idea#149242
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

@DinoV
DinoV
opened on May 1, 2026
Issue body actions

Bug report

Bug description:

The offset of _gc_runtime_state is exported via the debug offsets, but only offset within it is exported. It's likely that someone could be doing something slimey like looking at other fields. init. It's probably best to only add things to the end rather than change the offsets of existing members of the struct in a patch release.

CPython versions tested on:

3.14

Operating systems tested on:

No response

Linked PRs

  • [3.14] gh-149242: Heap size should be added at end of the struct  #149241

Activity

  1. DinoV
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on May 1, 2026
  2. StanFromIreland
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on May 1, 2026
  3. DinoV
    added a commit that references this issue on May 1, 2026

    [3.14] gh-149242: Heap size should be added at end of the struct (#14…

    312a596
  4. DinoV
    closed this as completedon May 2, 2026
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.