summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2023-04-05 21:15:49 (GMT)
committerGitHub <noreply@github.com>2023-04-05 21:15:49 (GMT)
commitb4978ff872be5102117b4e25d93dbbb4e04c8292 (patch)
tree3e6ef44b198924b39a84130933de7b353ebe1465 /Lib/importlib
parentaa5a9b5eb767fd849ea09d0842e33691e690de7c (diff)
downloadcpython-b4978ff872be5102117b4e25d93dbbb4e04c8292.zip
cpython-b4978ff872be5102117b4e25d93dbbb4e04c8292.tar.gz
cpython-b4978ff872be5102117b4e25d93dbbb4e04c8292.tar.bz2
GH-88691: Shrink the CALL caches (GH-103230)
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/_bootstrap_external.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py
index 9c4c5f9..de6c434 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -438,6 +438,7 @@ _code_type = type(_write_atomic.__code__)
# Python 3.12a7 3522 (Removed JUMP_IF_FALSE_OR_POP/JUMP_IF_TRUE_OR_POP)
# Python 3.12a7 3523 (Convert COMPARE_AND_BRANCH back to COMPARE_OP)
# Python 3.12a7 3524 (Shrink the BINARY_SUBSCR caches)
+# Python 3.12b1 3525 (Shrink the CALL caches)
# Python 3.13 will start with 3550
@@ -454,7 +455,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 = (3524).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3525).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c