aboutsummaryrefslogtreecommitdiff
path: root/magic/Magdir/python
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2016-11-07 07:26:06 +0000
committerXin LI <delphij@FreeBSD.org>2016-11-07 07:26:06 +0000
commit46a30e2e108c3996f8c1ef41888011c2a5cedaf7 (patch)
treed5b3320c0abb93ce4b48892c8cf3704e4a3ed009 /magic/Magdir/python
parent581c312f134935d421daea8ff9efe57e66a2beab (diff)
Vendor import of file 5.29.vendor/file/5.29
Notes
Notes: svn path=/vendor/file/dist/; revision=308392 svn path=/vendor/file/5.29/; revision=308393; tag=vendor/file/5.29
Diffstat (limited to 'magic/Magdir/python')
-rw-r--r--magic/Magdir/python5
1 files changed, 3 insertions, 2 deletions
diff --git a/magic/Magdir/python b/magic/Magdir/python
index 06da176937e6..29dcc15a8519 100644
--- a/magic/Magdir/python
+++ b/magic/Magdir/python
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: python,v 1.28 2015/09/16 22:19:54 christos Exp $
+# $File: python,v 1.29 2016/07/27 09:42:16 rrt Exp $
# python: file(1) magic for python
#
# Outlook puts """ too for urgent messages
@@ -9,7 +9,7 @@
0 string/t """ Python script text executable
# MAGIC as specified in Python/import.c (1.5 to 2.7a0 and 3.1a0, assuming
# that Py_UnicodeFlag is off for Python 2)
-# 20121 ( YEAR - 1995 ) + MONTH + DAY (little endian followed by "\r\n"
+# two bytes of magic followed by "\r\n" in little endian order
0 belong 0x994e0d0a python 1.5/1.6 byte-compiled
0 belong 0x87c60d0a python 2.0 byte-compiled
0 belong 0x2aeb0d0a python 2.1 byte-compiled
@@ -24,6 +24,7 @@
0 belong 0x6c0c0d0a python 3.2 byte-compiled
0 belong 0x9e0c0d0a python 3.3 byte-compiled
0 belong 0xee0c0d0a python 3.4 byte-compiled
+0 belong 0x160d0d0a python 3.5 byte-compiled
0 search/1/w #!\ /usr/bin/python Python script text executable
!:strength + 15