mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Completely get rid of __dynamic__ and the corresponding
Py_TPFLAGS_DYNAMICTYPE bit. There is no longer a performance benefit, and I don't really see the use case any more.
This commit is contained in:
parent
f118cb1d6f
commit
2f3ca6eeb6
3 changed files with 42 additions and 157 deletions
|
@ -432,9 +432,6 @@ given type object has a specified feature.
|
|||
/* Set if the type allows subclassing */
|
||||
#define Py_TPFLAGS_BASETYPE (1L<<10)
|
||||
|
||||
/* Set if the type's __dict__ may change */
|
||||
#define Py_TPFLAGS_DYNAMICTYPE (1L<<11)
|
||||
|
||||
/* Set if the type is 'ready' -- fully initialized */
|
||||
#define Py_TPFLAGS_READY (1L<<12)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue