summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrandt Bucher <brandt@python.org>2021-11-12 13:21:45 (GMT)
committerGitHub <noreply@github.com>2021-11-12 13:21:45 (GMT)
commit8f1b71de731dda668aede7c9b34d0ad7afb8f6a8 (patch)
tree4c6a781883b3842d5c608d85ca7b2d0bb547f3ed /Lib
parente501d70b347c5093018d12482c30a7a98aab86d0 (diff)
downloadcpython-8f1b71de731dda668aede7c9b34d0ad7afb8f6a8.zip
cpython-8f1b71de731dda668aede7c9b34d0ad7afb8f6a8.tar.gz
cpython-8f1b71de731dda668aede7c9b34d0ad7afb8f6a8.tar.bz2
bpo-45711: Re-bump the magic number and update doc (GH-29528)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/importlib/_bootstrap_external.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py
index f6f54af6..303ca72 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -366,7 +366,10 @@ _code_type = type(_write_atomic.__code__)
# Python 3.11a1 3461 (JUMP_ABSOLUTE must jump backwards)
# Python 3.11a2 3462 (bpo-44511: remove COPY_DICT_WITHOUT_KEYS, change
# MATCH_CLASS and MATCH_KEYS, and add COPY)
-# Python 3.11a3 3463 (Merge numeric BINARY_*/INPLACE_* into BINARY_OP)
+# Python 3.11a3 3463 (bpo-45711: JUMP_IF_NOT_EXC_MATCH no longer pops the
+# active exception)
+# Python 3.11a3 3464 (bpo-45636: Merge numeric BINARY_*/INPLACE_* into
+# BINARY_OP)
#
# MAGIC must change whenever the bytecode emitted by the compiler may no
@@ -376,7 +379,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 = (3463).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3464).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
_PYCACHE = '__pycache__'