Deleted Added
full compact
python (226048) python (234250)
1
2#------------------------------------------------------------------------------
1
2#------------------------------------------------------------------------------
3# $File: python,v 1.18 2011/02/26 02:33:38 christos Exp $
3# $File: python,v 1.20 2011/12/13 13:53:14 christos Exp $
4# python: file(1) magic for python
5#
4# python: file(1) magic for python
5#
6# Outlook puts """ too for urgent messages
6# From: David Necas <yeti@physics.muni.cz>
7# often the module starts with a multiline string
7# From: David Necas <yeti@physics.muni.cz>
8# often the module starts with a multiline string
80 string/t """ a python script text executable
90 string/t """ Python script text executable
9# MAGIC as specified in Python/import.c (1.5 to 2.7a0 and 3.1a0, assuming
10# that Py_UnicodeFlag is off for Python 2)
11# 20121 ( YEAR - 1995 ) + MONTH + DAY (little endian followed by "\r\n"
120 belong 0x994e0d0a python 1.5/1.6 byte-compiled
130 belong 0x87c60d0a python 2.0 byte-compiled
140 belong 0x2aeb0d0a python 2.1 byte-compiled
150 belong 0x2ded0d0a python 2.2 byte-compiled
160 belong 0x3bf20d0a python 2.3 byte-compiled

--- 44 unchanged lines hidden ---
10# MAGIC as specified in Python/import.c (1.5 to 2.7a0 and 3.1a0, assuming
11# that Py_UnicodeFlag is off for Python 2)
12# 20121 ( YEAR - 1995 ) + MONTH + DAY (little endian followed by "\r\n"
130 belong 0x994e0d0a python 1.5/1.6 byte-compiled
140 belong 0x87c60d0a python 2.0 byte-compiled
150 belong 0x2aeb0d0a python 2.1 byte-compiled
160 belong 0x2ded0d0a python 2.2 byte-compiled
170 belong 0x3bf20d0a python 2.3 byte-compiled

--- 44 unchanged lines hidden ---