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 | 45d8e7b920b6fe33323ef3d656a7387dafaa0963 (patch) | |
tree | dd72addcfc1b045bfc2b27ce6c208a9b3c06a303 /Lib/importlib/_bootstrap.py | |
parent | 7ef60cd8c208d22672e76fcf031b4fa671a13684 (diff) | |
download | cpython-45d8e7b920b6fe33323ef3d656a7387dafaa0963.zip cpython-45d8e7b920b6fe33323ef3d656a7387dafaa0963.tar.gz cpython-45d8e7b920b6fe33323ef3d656a7387dafaa0963.tar.bz2 |
update magic number for #20625
Diffstat (limited to 'Lib/importlib/_bootstrap.py')
-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__' |