summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-06-23 16:00:08 (GMT)
committerGitHub <noreply@github.com>2019-06-23 16:00:08 (GMT)
commitb3ca7972c8d8c6479b6542ce28e0f7a6ebd5b8fe (patch)
treed58980ed8b19f2c8d26b953685b40d6ca1bf222f /Lib/importlib
parent663131a6e2c6c8b83e9f982d8c6ca38fc7c238b4 (diff)
downloadcpython-b3ca7972c8d8c6479b6542ce28e0f7a6ebd5b8fe.zip
cpython-b3ca7972c8d8c6479b6542ce28e0f7a6ebd5b8fe.tar.gz
cpython-b3ca7972c8d8c6479b6542ce28e0f7a6ebd5b8fe.tar.bz2
bpo-35224: Bump the pyc magic number by 1 instead of by 10 in last modification (GH-14320)
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/_bootstrap_external.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py
index 40e239d..64185771 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -266,7 +266,7 @@ _code_type = type(_write_atomic.__code__)
# Python 3.8a1 3400 (move frame block handling to compiler #17611)
# Python 3.8a1 3401 (add END_ASYNC_FOR #33041)
# Python 3.8a1 3410 (PEP570 Python Positional-Only Parameters #36540)
-# Python 3.8b2 3420 (Reverse evaluation order of key: value in dict
+# Python 3.8b2 3411 (Reverse evaluation order of key: value in dict
# comprehensions #35224)
#
# MAGIC must change whenever the bytecode emitted by the compiler may no
@@ -276,7 +276,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 = (3420).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3411).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
_PYCACHE = '__pycache__'