[Python-ideas] Draft PEP: Standard daemon process library

Tim Golden mail at timgolden.me.uk
Tue Jan 27 18:10:49 CET 2009


Jesse Noller wrote:
> On Tue, Jan 27, 2009 at 11:23 AM, Tim Golden <mail at timgolden.me.uk> wrote:
>> Oleg Broytmann wrote:
>>> On Tue, Jan 27, 2009 at 04:06:44PM +0000, Trent Nelson wrote:
>>>> On Tue, Jan 27, 2009 at 12:00:59PM +0300, Oleg Broytmann wrote:
>>>>>   Not only it's a completely different API - it requires pywin32 which
>>>>> is
>>>>> not in the stdlib.
>>> [skip]
>>>>>   +1 for unix-only daemonization, -1 for making a universal unix/w32
>>>>> API.
>>>>    It's not hard to abstract a general service interface
>>>   Do you propose to include pywin32 into python?
>> Ummm.. Python already has a slew of windows-specific code in
>> it. You could -- if it seemed suitable -- copy the pywin32
>> code with appropriate attribution, but you don't need the
>> whole thing. And you don't necessarily need it at all.
>>
>> TJG
> 
> I think adding the windows services functionality distracts from the
> reasonable goal of the PEP Ben is proposing.

I'm inclined to agree with you. Or at least I think a PEP proposing
a cross-platform daemon/service framework would be quite different
from the one Ben is authoring. 

I was really just commenting on Oleg's suggestion that anything 
making use of win32 code needed to use pywin32.


TJG



More information about the Python-ideas mailing list