From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 4 Apr 2026 16:01:34 +0000 (+0200) Subject: [3.14] gh-148074: Fix `typeobject.c` missing error return (GH-148075) (#148095) X-Git-Tag: v3.14.4~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61c919cf1b9b365add10915764c93119f6195b4a;p=thirdparty%2FPython%2Fcpython.git [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 <1055917385@qq.com> --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index e58578d310b7..0db171807aca 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;