mirror of
https://github.com/python/cpython.git
synced 2026-05-13 14:01:11 +00:00
GH-113462: Limit the number of versions that a single class can use. (GH-114900)
This commit is contained in:
parent
87cd20a567
commit
992446dd5b
4 changed files with 22 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue