diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-10-20 17:50:28 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-10-20 17:50:28 -0400 |
commit | 6b4f7803f8be4b90c22dcf3737f4144cabff4d70 (patch) | |
tree | c0db1b6ecbe9b239c7fa6d741fb82eaf71a0fd7e /Lib/importlib | |
parent | a7a150c7c65e8022027ed0f48cd6f867fcf31949 (diff) | |
download | cpython-git-6b4f7803f8be4b90c22dcf3737f4144cabff4d70.tar.gz |
cleanup the construction of __qualname__ (closes #19301 again)
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 e8eeea1fd4..ec105329ff 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -370,12 +370,13 @@ def _call_with_frames_removed(f, *args, **kwds): # Python 3.4a1 3270 (various tweaks to the __class__ closure) # 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) # # 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 = (3290).to_bytes(2, 'little') + b'\r\n' +MAGIC_NUMBER = (3300).to_bytes(2, 'little') + b'\r\n' _RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c _PYCACHE = '__pycache__' |