From 282c01fa11ce52a88bd12c226d3fba4b0ffc6e1a Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Sat, 19 Sep 2026 07:26:08 +0000 Subject: [PATCH] gh-126547: add missing tp_version_tag to UnicodeType --- Objects/unicodeobject.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index d2faa28722b0e0..5d0b818981fc98 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -14475,6 +14475,7 @@ PyTypeObject PyUnicode_Type = { 0, /* tp_alloc */ unicode_new, /* tp_new */ PyObject_Free, /* tp_free */ + .tp_version_tag = _Py_TYPE_VERSION_STR, .tp_vectorcall = unicode_vectorcall, ._tp_iteritem = unicode_iteritem, };