From 7276ca25f5f1440aa4d025350d3de15141854dde Mon Sep 17 00:00:00 2001 From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Wed, 17 Aug 2022 19:37:07 +0800 Subject: GH-93911: Specialize `LOAD_ATTR` for custom `__getattribute__` (GH-93988) --- Include/internal/pycore_code.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Include/internal/pycore_code.h') diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h index 61e40eb8a9..7d5fe941fc 100644 --- a/Include/internal/pycore_code.h +++ b/Include/internal/pycore_code.h @@ -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 + -- cgit v1.2.1