components/python/python27/patches/07-dlpi.patch
changeset 1246 164605dfef4e
parent 458 2edc011b559e
child 1914 00e8dbcb9b1e
equal deleted inserted replaced
1245:b95e96615c0c 1246:164605dfef4e
       
     1 This patch provides Python dlpi support.
       
     2 
     1 diff --git Python-2.6.4/Modules/dlpimodule.c Python-2.6.4/Modules/dlpimodule.c
     3 diff --git Python-2.6.4/Modules/dlpimodule.c Python-2.6.4/Modules/dlpimodule.c
     2 new file mode 100644
     4 new file mode 100644
     3 --- /dev/null
     5 --- /dev/null
     4 +++ Python-2.6.4/Modules/dlpimodule.c
     6 +++ Python-2.6.4/Modules/dlpimodule.c
     5 @@ -0,0 +1,1205 @@
     7 @@ -0,0 +1,1205 @@
  1227 diff --git Python-2.6.4/lib/test/dlpitest.py Python-2.6.4/Lib/test/dlpitest.py
  1229 diff --git Python-2.6.4/lib/test/dlpitest.py Python-2.6.4/Lib/test/dlpitest.py
  1228 new file mode 100644
  1230 new file mode 100644
  1229 --- /dev/null	2011-02-12 03:13:26.000000000 -0600
  1231 --- /dev/null	2011-02-12 03:13:26.000000000 -0600
  1230 +++ Python-2.6.4/Lib/test/dlpitest.py	2011-01-20 13:52:42.895865414 -0600
  1232 +++ Python-2.6.4/Lib/test/dlpitest.py	2011-01-20 13:52:42.895865414 -0600
  1231 @@ -0,0 +1,96 @@
  1233 @@ -0,0 +1,96 @@
  1232 +#!/usr/bin/python2.6
  1234 +#!/usr/bin/python2.7
  1233 +
  1235 +
  1234 +import dlpi
  1236 +import dlpi
  1235 +import sys
  1237 +import sys
  1236 +import time
  1238 +import time
  1237 +import struct
  1239 +import struct