Skip to content

gh-148074: Fix typeobject.c missing error return#148075

Open
Wulian233 wants to merge 1 commit intopython:mainfrom
Wulian233:type
Open

gh-148074: Fix typeobject.c missing error return#148075
Wulian233 wants to merge 1 commit intopython:mainfrom
Wulian233:type

Conversation

@Wulian233
Copy link
Copy Markdown
Contributor

@Wulian233 Wulian233 commented Apr 4, 2026

At line 9314-9320, PyErr_Format sets a SystemError for invalid tp_dictoffset but falls through to return 0 (success). Type finishes initialization with invalid offset and pending exception. Requires C extension to trigger.

I think we can skip-news

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants