Mercurial > cpython-lru_cache-weakref
diff Lib/importlib/_bootstrap.py @ 86521:bb2affc1e317
cleanup the construction of __qualname__ (closes #19301 again)
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sun, 20 Oct 2013 17:50:28 -0400 |
| parents | 35b384ed594b |
| children | 88c3a1a3c2ff |
line wrap: on
line diff
--- a/Lib/importlib/_bootstrap.py Sun Oct 20 23:26:23 2013 +0200 +++ b/Lib/importlib/_bootstrap.py Sun Oct 20 17:50:28 2013 -0400 @@ -370,12 +370,13 @@ # 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__'
