summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-02-28 12:56:29 (GMT)
committerGitHub <noreply@github.com>2022-02-28 12:56:29 (GMT)
commit4558af5a8f8e56a9b0dc11f6e834c47e0fd05f9e (patch)
tree32365218607a600a23378350b533a307474cb628 /Lib/importlib
parentda7d99a4de72aac8d436cecedf16ab2676f9b785 (diff)
downloadcpython-4558af5a8f8e56a9b0dc11f6e834c47e0fd05f9e.zip
cpython-4558af5a8f8e56a9b0dc11f6e834c47e0fd05f9e.tar.gz
cpython-4558af5a8f8e56a9b0dc11f6e834c47e0fd05f9e.tar.bz2
bpo-46841: Move the cache for `LOAD_GLOBAL` inline. (GH-31575)
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/_bootstrap_external.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py
index be23eee..f051dfe 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -387,8 +387,8 @@ _code_type = type(_write_atomic.__code__)
# Python 3.11a5 3478 (New CALL opcodes)
# Python 3.11a5 3479 (Add PUSH_NULL opcode)
# Python 3.11a5 3480 (New CALL opcodes, second iteration)
-# Python 3.11a5 3481 (Use inline CACHE instructions)
-# Python 3.11a5 3482 (Use inline caching for UNPACK_SEQUENCE)
+# Python 3.11a5 3481 (Use inline cache for BINARY_OP)
+# Python 3.11a5 3482 (Use inline caching for UNPACK_SEQUENCE and LOAD_GLOBAL)
# Python 3.12 will start with magic number 3500