summaryrefslogtreecommitdiff
path: root/Lib/importlib
diff options
context:
space:
mode:
authorBrandt Bucher <brandt@python.org>2021-05-02 13:02:10 -0700
committerGitHub <noreply@github.com>2021-05-02 13:02:10 -0700
commit0ad1e0384c8afc5259a6d03363491d89500a5d03 (patch)
tree66debec62434d9503dd8c3b60c22dc99dcd15f95 /Lib/importlib
parent7d2b83e9f092a2ea1f715fe028f7c48324bee756 (diff)
downloadcpython-git-0ad1e0384c8afc5259a6d03363491d89500a5d03.tar.gz
bpo-43754: Eliminate bindings for partial pattern matches (GH-25229)
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 2b2818715e..9a73c7b43a 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -351,6 +351,7 @@ _code_type = type(_write_atomic.__code__)
# Python 3.10b1 3436 (Add GEN_START bytecode #43683)
# Python 3.10b1 3437 (Undo making 'annotations' future by default - We like to dance among core devs!)
# Python 3.10b1 3438 Safer line number table handling.
+# Python 3.10b1 3439 (Add ROT_N)
#
# MAGIC must change whenever the bytecode emitted by the compiler may no
@@ -360,7 +361,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 = (3438).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3439).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
_PYCACHE = '__pycache__'