mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
GH-93911: Specialize LOAD_ATTR for custom __getattribute__ (GH-93988)
This commit is contained in:
parent
36517101dd
commit
7276ca25f5
11 changed files with 219 additions and 86 deletions
|
|
@ -118,6 +118,7 @@ struct callable_cache {
|
|||
PyObject *isinstance;
|
||||
PyObject *len;
|
||||
PyObject *list_append;
|
||||
PyObject *object__getattribute__;
|
||||
};
|
||||
|
||||
/* "Locals plus" for a code object is the set of locals + cell vars +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue