summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-06-11 21:39:41 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-06-11 21:39:41 (GMT)
commit6a7506a77f11235b2f1f0e97a2f2eb57e6953d88 (patch)
tree49509696dbf91f8e26ee18309678d0f3d4daee56 /Lib/importlib
parentd611f4cf10e63814ad0d2e51b215d13dc097d355 (diff)
downloadcpython-6a7506a77f11235b2f1f0e97a2f2eb57e6953d88.zip
cpython-6a7506a77f11235b2f1f0e97a2f2eb57e6953d88.tar.gz
cpython-6a7506a77f11235b2f1f0e97a2f2eb57e6953d88.tar.bz2
Issue #27140: Added BUILD_CONST_KEY_MAP opcode.
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 034b783..b05281f 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -226,6 +226,7 @@ _code_type = type(_write_atomic.__code__)
# Python 3.6a0 3360 (add FORMAT_VALUE opcode #25483
# Python 3.6a0 3361 (lineno delta of code.co_lnotab becomes signed)
# Python 3.6a0 3370 (16 bit wordcode)
+# Python 3.6a0 3371 (add BUILD_CONST_KEY_MAP opcode #27140)
#
# MAGIC must change whenever the bytecode emitted by the compiler may no
# longer be understood by older implementations of the eval loop (usually
@@ -234,7 +235,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 = (3370).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3371).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
_PYCACHE = '__pycache__'