GH-113462: Limit the number of versions that a single class can use. (GH-114900)

This commit is contained in:
Mark Shannon 2024-02-05 16:20:54 +00:00 committed by GitHub
parent 87cd20a567
commit 992446dd5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 22 additions and 1 deletions

View file

@ -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