Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

build fails with--enable-pystats --with-pydebug (use of Py_SIZE on PyLongObject) #104184

Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
@carljm

Description

@carljm
> ./configure --enable-pystats --with-pydebug> make -j..._bootstrap_python: ../../cpython/Include/object.h:215: Py_SIZE: Assertion `ob->ob_type != &PyLong_Type' failed.

It looks like#102464 missed removing this use ofPy_SIZE on aPyLongObject because it is gated behind#ifdef Py_STATS.

When debug is enabled, this causes an assertion to fail. Without assertions, I think it can cause inaccurate stats collection forSTORE_SUBSCR specialization failures.

Linked PRs

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp