Skip to content

_Py_DebugOffsets for PyLongObject are incorrect #123484

Closed

Description

@godlygeek

Bug report

Bug description:

All other debug offsets are relative to the start of the object, but the offsets for PyLongObject's fields are relative to the start of an inner object, and so each field's value is too small by sizeof(PyObject).

CPython versions tested on:

3.13, CPython main branch

Operating systems tested on:

Linux

Linked PRs

Activity

  1. added a commit that references this issue on Aug 30, 2024
  2. added a commit that references this issue on Aug 30, 2024
  3. added a commit that references this issue on Aug 30, 2024
  4. picnixz commented on Aug 30, 2024

    @picnixz
    Member

    I believe this one can be closed, or is there something else to do?

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)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions