equal
deleted
inserted
replaced
|
1 This patch provides Python ucred support. |
|
2 |
1 diff --git Python-2.6.4/Modules/ucred.c Python-2.6.4/Modules/ucred.c |
3 diff --git Python-2.6.4/Modules/ucred.c Python-2.6.4/Modules/ucred.c |
2 new file mode 100644 |
4 new file mode 100644 |
3 --- /dev/null |
5 --- /dev/null |
4 +++ Python-2.6.4/Modules/ucred.c |
6 +++ Python-2.6.4/Modules/ucred.c |
5 @@ -0,0 +1,390 @@ |
7 @@ -0,0 +1,390 @@ |
413 diff --git Python-2.6.4/Lib/test/ucredtest.py Python-2.6.4/Lib/test/ucredtest.py |
415 diff --git Python-2.6.4/Lib/test/ucredtest.py Python-2.6.4/Lib/test/ucredtest.py |
414 new file mode 100644 |
416 new file mode 100644 |
415 --- /dev/null 2011-02-12 03:14:16.000000000 -0600 |
417 --- /dev/null 2011-02-12 03:14:16.000000000 -0600 |
416 +++ Python-2.6.4/Lib/test/ucredtest.py 2011-01-20 13:52:42.945657919 -0600 |
418 +++ Python-2.6.4/Lib/test/ucredtest.py 2011-01-20 13:52:42.945657919 -0600 |
417 @@ -0,0 +1,45 @@ |
419 @@ -0,0 +1,45 @@ |
418 +#!/usr/bin/python2.6 |
420 +#!/usr/bin/python2.7 |
419 + |
421 + |
420 +import ucred |
422 +import ucred |
421 +import os |
423 +import os |
422 + |
424 + |
423 +uc = ucred.get(os.getpid()) |
425 +uc = ucred.get(os.getpid()) |