gh-150490: Raise PyType_Modified for insertion into split dictionary (#150489)

Raise PyType_Modified for insertion into split dictionary
This commit is contained in:
Dino Viehland 2026-06-11 09:38:31 -07:00 committed by GitHub
parent 6112d70abe
commit efb2fffae1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 1300 additions and 1412 deletions

View file

@ -1285,7 +1285,6 @@ specialize_attr_loadclassattr(PyObject *owner, _Py_CODEUNIT *instr,
SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
return 0;
}
write_u32(cache->keys_version, shared_keys_version);
specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
}
else {