summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2018-01-30 00:41:04 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2018-01-30 00:41:04 (GMT)
commit332cd5ee4ff42c9904c56e68a1028f383f7fc9a8 (patch)
tree7e02c4a2919e9a8d17ed3be5008aa81d05dc14b1 /Lib/importlib
parentb6e43af669f61a37a29d8ff0785455108e6bc29d (diff)
downloadcpython-332cd5ee4ff42c9904c56e68a1028f383f7fc9a8.zip
cpython-332cd5ee4ff42c9904c56e68a1028f383f7fc9a8.tar.gz
cpython-332cd5ee4ff42c9904c56e68a1028f383f7fc9a8.tar.bz2
bpo-32550. Remove the STORE_ANNOTATION bytecode. (GH-5181)
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 cf75719..d3f58af 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -242,6 +242,7 @@ _code_type = type(_write_atomic.__code__)
# Python 3.7a0 3390 (add LOAD_METHOD and CALL_METHOD opcodes)
# Python 3.7a0 3391 (update GET_AITER #31709)
# Python 3.7a0 3392 (PEP 552: Deterministic pycs)
+# Python 3.7a0 3393 (remove STORE_ANNOTATION opcode)
#
# MAGIC must change whenever the bytecode emitted by the compiler may no
# longer be understood by older implementations of the eval loop (usually
@@ -250,7 +251,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 = (3392).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3393).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
_PYCACHE = '__pycache__'