diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-02-19 23:05:36 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-02-19 23:05:36 (GMT) |
commit | a50fd87237da1fe14f6f35cc0d0e492442924035 (patch) | |
tree | 94fc62b2f0730bb2fbfb88c789f31c94f65cf8af /Lib/importlib | |
parent | 0f3e6bca1b7478027843fe6181f6b12f4c1514ed (diff) | |
download | cpython-a50fd87237da1fe14f6f35cc0d0e492442924035.zip cpython-a50fd87237da1fe14f6f35cc0d0e492442924035.tar.gz cpython-a50fd87237da1fe14f6f35cc0d0e492442924035.tar.bz2 |
update magic number for #20625
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/_bootstrap.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index 8a0cc34..4864024 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -418,12 +418,13 @@ def _call_with_frames_removed(f, *args, **kwds): # Python 3.4a1 3280 (remove implicit class argument) # Python 3.4a4 3290 (changes to __qualname__ computation) # Python 3.4a4 3300 (more changes to __qualname__ computation) +# Python 3.4rc2 3310 (alter __qualname__ computation) # # 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 = (3300).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3310).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c _PYCACHE = '__pycache__' |