diff options
author | Carl Meyer <carl@oddbird.net> | 2023-04-25 11:45:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 17:45:51 +0000 |
commit | ef25febcf2ede92a03c5ea00a13e167e0b5cb274 (patch) | |
tree | 6ce38cd3aa3d653d931df5250b02b5cb6b46bb69 /Lib/importlib/_bootstrap_external.py | |
parent | cef542ca572fdd402ff0e10093a0c1b459e5dcd6 (diff) | |
download | cpython-ef25febcf2ede92a03c5ea00a13e167e0b5cb274.tar.gz cpython-ef25febcf2ede92a03c5ea00a13e167e0b5cb274.zip |
gh-87729: specialize LOAD_SUPER_ATTR_METHOD (#103809)
Diffstat (limited to 'Lib/importlib/_bootstrap_external.py')
-rw-r--r-- | Lib/importlib/_bootstrap_external.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index 74a78bc9f6d..cb227373ca2 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -440,7 +440,8 @@ _code_type = type(_write_atomic.__code__) # Python 3.12a7 3524 (Shrink the BINARY_SUBSCR caches) # Python 3.12b1 3525 (Shrink the CALL caches) # Python 3.12b1 3526 (Add instrumentation support) -# Python 3.12b1 3527 (Optimize super() calls) +# Python 3.12b1 3527 (Add LOAD_SUPER_ATTR) +# Python 3.12b1 3528 (Add LOAD_SUPER_ATTR_METHOD specialization) # Python 3.13 will start with 3550 @@ -457,7 +458,7 @@ _code_type = type(_write_atomic.__code__) # Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array # in PC/launcher.c must also be updated. -MAGIC_NUMBER = (3527).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3528).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c |