https://github.com/python/cpython/commit/61c919cf1b9b365add10915764c93119f6195b4a commit: 61c919cf1b9b365add10915764c93119f6195b4a branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 <[email protected]> date: 2026-04-04T16:01:34Z summary:
[3.14] gh-148074: Fix `typeobject.c` missing error return (GH-148075) (#148095) gh-148074: Fix `typeobject.c` missing error return (GH-148075) (cherry picked from commit c398490fbf15ede5de3389b4ca4e32fb9a7c5d67) Co-authored-by: Wulian233 <[email protected]> files: M Objects/typeobject.c diff --git a/Objects/typeobject.c b/Objects/typeobject.c index e58578d310b75c..0db171807aca4b 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -8908,6 +8908,7 @@ type_ready_post_checks(PyTypeObject *type) PyErr_Format(PyExc_SystemError, "type %s has a tp_dictoffset that is too small", type->tp_name); + return -1; } } return 0; _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
