[Tutor] Who called me?

Bill Campbell bill at celestial.net
Tue Nov 8 18:59:39 CET 2005

Is there a way in python for a method to determine its parent?

In particular, I'm working with SimpleXMLRPCServer, and would
like to be able to find the client_address in the routine that
has been dispatched.  I know that client_address is an attribute
of the handler class instance, but don't know how to get to that.

INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

My brother sent me a postcard the other day with this big satellite photo
of the entire earth on it. On the back it said: ``Wish you were here''.
		-- Steven Wright

More information about the Tutor mailing list