曹忠 added the comment:
Thanks, I see.
Brett Cannon 于2016年10月25日 周二 00:28写道:
Brett Cannon added the comment:
Closing this as a third-party Debian issue (if it even matters as bytecode
is an optimization local to a machine and so different magic numbers
shouldn't matter).
--
曹忠 added the comment:
I try, still the same:
On debian 9 and python 3.5.2:
>>> importlib.util.MAGIC_NUMBER
b'\x17\r\r\n'
On windows and python 3.5.2
>>> importlib.util.MAGIC_NUMBER
b'\x16\r\r\n'
--
___
P
New submission from 曹忠:
On debian 9 and python 3.5.2:
>>> imp.get_magic()
b'\x17\r\r\n'
On windows and python 3.5.2
>>> imp.get_magic()
b'\x16\r\r\n'
the same python version, magic number is the same, why not?
--
components: Build
messages: 278