diff options
author | Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> | 2022-08-17 11:37:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 11:37:07 (GMT) |
commit | 7276ca25f5f1440aa4d025350d3de15141854dde (patch) | |
tree | 253f8e34893018705c9f04810d68e2d798c1bd24 /Lib | |
parent | 36517101dd80cae93da379e95e98a688c52935b7 (diff) | |
download | cpython-7276ca25f5f1440aa4d025350d3de15141854dde.zip cpython-7276ca25f5f1440aa4d025350d3de15141854dde.tar.gz cpython-7276ca25f5f1440aa4d025350d3de15141854dde.tar.bz2 |
GH-93911: Specialize `LOAD_ATTR` for custom `__getattribute__` (GH-93988)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/opcode.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index 8a07fb7..6658522 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -338,6 +338,7 @@ _specializations = { "LOAD_ATTR_ADAPTIVE", # These potentially push [NULL, bound method] onto the stack. "LOAD_ATTR_CLASS", + "LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN", "LOAD_ATTR_INSTANCE_VALUE", "LOAD_ATTR_MODULE", "LOAD_ATTR_PROPERTY", |