python3 patch

Sven Bartscher svenbartscher at yahoo.de
Sat Aug 10 12:59:11 UTC 2013


I made a patch making the python-daemon package (version 1.5.5) suitable 
for both python3 and to (tested with python3.2.3 and python2.7.3). It 
does also some other changes that are lsited below:

It replaces the pidlockfile.py. Instead the file contains a simple 
PIDLockFile context. So the package doesn't require the lockfile module. 
It's still possible to use every pidfile context with the deamon.

Note that the tests are left unchanged and aren't expected to work. 
Instead i wrote my own, simple test script, which worked with both 
python3 and python2. But i think some more testing may be appreciated.

The patch is attached to this E-Mail. If you have any questions just 
answer to this E-Mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-daemon-1.5.5-python3.2.patch
Type: text/x-patch
Size: 20157 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-daemon-devel/attachments/20130810/094ab085/attachment.bin>


More information about the python-daemon-devel mailing list