summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/_bootstrap_external.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-02-14 11:54:13 (GMT)
committerGitHub <noreply@github.com>2023-02-14 11:54:13 (GMT)
commit81e3aa835c32363f4547b6566edf1125386f1f6d (patch)
tree4a20320722549dca1c5d581772aa2a6152d8ca5b /Lib/importlib/_bootstrap_external.py
parent3690688149dca11589af59b7704541336613199a (diff)
downloadcpython-81e3aa835c32363f4547b6566edf1125386f1f6d.zip
cpython-81e3aa835c32363f4547b6566edf1125386f1f6d.tar.gz
cpython-81e3aa835c32363f4547b6566edf1125386f1f6d.tar.bz2
gh-101799: implement PREP_RERAISE_STAR as an intrinsic function (#101800)
Diffstat (limited to 'Lib/importlib/_bootstrap_external.py')
-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 38d4a38..954401c 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -433,6 +433,7 @@ _code_type = type(_write_atomic.__code__)
# Python 3.12a5 3517 (Change YIELD_VALUE oparg to exception block depth)
# Python 3.12a5 3518 (Add RETURN_CONST instruction)
# Python 3.12a5 3519 (Modify SEND instruction)
+# Python 3.12a5 3520 (Remove PREP_RERAISE_STAR, add CALL_INTRINSIC_2)
# Python 3.13 will start with 3550
@@ -445,7 +446,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 = (3519).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3520).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c