diff options
| author | Mark Shannon <mark@hotpy.org> | 2024-02-05 16:20:54 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-05 16:20:54 (GMT) |
| commit | 992446dd5bd3fff92ea0f8064fb19eebfe105cef (patch) | |
| tree | 95df0aa7212a7773c1345c264c8a15972877e25b /Include/cpython | |
| parent | 87cd20a567aca56369010689e22a524bc1f1ac03 (diff) | |
| download | cpython-992446dd5bd3fff92ea0f8064fb19eebfe105cef.zip cpython-992446dd5bd3fff92ea0f8064fb19eebfe105cef.tar.gz cpython-992446dd5bd3fff92ea0f8064fb19eebfe105cef.tar.bz2 | |
GH-113462: Limit the number of versions that a single class can use. (GH-114900)
Diffstat (limited to 'Include/cpython')
| -rw-r--r-- | Include/cpython/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/object.h b/Include/cpython/object.h index c939316..7512bb7 100644 --- a/Include/cpython/object.h +++ b/Include/cpython/object.h @@ -229,6 +229,7 @@ struct _typeobject { /* bitset of which type-watchers care about this type */ unsigned char tp_watched; + uint16_t tp_versions_used; }; /* This struct is used by the specializer |
