diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-06-22 23:47:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-22 23:47:34 +0100 |
commit | 663131a6e2c6c8b83e9f982d8c6ca38fc7c238b4 (patch) | |
tree | 267bf69303fb23796fe1084d77aec7698f5dc0c7 /Lib/importlib | |
parent | 9ffca670ed4df42eb256e7144619a9d3a830e7c0 (diff) | |
download | cpython-git-663131a6e2c6c8b83e9f982d8c6ca38fc7c238b4.tar.gz |
bpo-35224: Bump the pyc magic number after the change in MAP_ADD (GH-14313)
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/_bootstrap_external.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index 9b5db81a3d..40e239dbf6 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -266,6 +266,8 @@ _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 +# comprehensions #35224) # # MAGIC must change whenever the bytecode emitted by the compiler may no # longer be understood by older implementations of the eval loop (usually @@ -274,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 = (3410).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3420).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c _PYCACHE = '__pycache__' |