[issue28465] python 3.5 magic number

2016-10-17 Thread

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: 278830
nosy: 曹忠
priority: normal
severity: normal
status: open
title: python 3.5 magic number
type: behavior
versions: Python 3.5

___
Python tracker 
<http://bugs.python.org/issue28465>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28465] python 3.5 magic number

2016-10-18 Thread

曹忠 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'

--

___
Python tracker 
<http://bugs.python.org/issue28465>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28465] python 3.5 magic number

2016-10-25 Thread

曹忠 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).

--
nosy: +brett.cannon
resolution:  -> third party
status: open -> closed

___
Python tracker 
<http://bugs.python.org/issue28465>
___

-- 

Thanks & Best Regards!
曹 忠(Joo Tsao)

广州市盈丰计算机科技有限公司

Address: 广州天河区科韵路12号之一3A02室
Mobile: 137 6331 0068
Tel: +86 020 3829 6735
Fax: +86 020 3829 6726

--

___
Python tracker 
<http://bugs.python.org/issue28465>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com