summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/_bootstrap_external.py
diff options
context:
space:
mode:
authorEric V. Smith <eric@trueblade.com>2015-11-03 17:45:05 (GMT)
committerEric V. Smith <eric@trueblade.com>2015-11-03 17:45:05 (GMT)
commita78c7954d549fba967a842143b4e3050ff488468 (patch)
tree26e0270948bb638d1b11dec80cfbc6397fdc2643 /Lib/importlib/_bootstrap_external.py
parent2753a096e0365bf93e1fd3a3e20735f598c14e91 (diff)
downloadcpython-a78c7954d549fba967a842143b4e3050ff488468.zip
cpython-a78c7954d549fba967a842143b4e3050ff488468.tar.gz
cpython-a78c7954d549fba967a842143b4e3050ff488468.tar.bz2
Issue 25483: Add an opcode to make f-string formatting more robust.
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 e0a1200..c58a62a 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -223,12 +223,13 @@ _code_type = type(_write_atomic.__code__)
# Python 3.5b1 3330 (PEP 448: Additional Unpacking Generalizations)
# Python 3.5b2 3340 (fix dictionary display evaluation order #11205)
# Python 3.5b2 3350 (add GET_YIELD_FROM_ITER opcode #24400)
+# Python 3.6a0 3360 (add FORMAT_VALUE opcode #25483)
#
# MAGIC must change whenever the bytecode emitted by the compiler may no
# longer be understood by older implementations of the eval loop (usually
# due to the addition of new opcodes).
-MAGIC_NUMBER = (3350).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3360).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
_PYCACHE = '__pycache__'