How to get client's IP address in the threaded case of SimpleXMLRPCServer?

2006-05-05 Thread Eirikur Hallgrimsson
Okay, I've banged my head against this for about three days on and off. The client's IP is passed to my handler in the non-threaded case. It's not in the threaded case, which is actually rather different with a couple of mixin classes mixing things up. I'm not confused, it's not passed. I can't

Re: Syntax suggestion.

2006-09-01 Thread Eirikur Hallgrimsson
>> "if" statement. So i thought that ommiting the parentheses and, why >> not, the commas in such cases will be a sort of beautiful/easier :) >> >> Adiaux >> Samir >> This actually exists. The language which omits punctuation not actually required to resolve ambiguity is called Ruby. Ruby is

Re: Creating a daemon process in Python

2007-02-21 Thread Eirikur Hallgrimsson
Sakagami Hiroki wrote: > Hi, > > What is the easiest way to create a daemon process in Python? I find that this works great. I just pasted my copy, I think you can find it via Google. Eirikur # Daemon Module - basic facilities for becoming a daemon process # By Coy Krill # Combines ideas fr

Re: Creating a daemon process in Python

2007-02-23 Thread Eirikur Hallgrimsson
I didn't actually write this module. I believe I found it in a discussion in ASPN at Active State. Thanks for the input, and when I get a chance I will try these alternate approaches. This module has been working fine for me as is--so far. Eirikur -- http://mail.python.org/mailman/listinfo