Russell Warren <[EMAIL PROTECTED]> writes:
> That is exactly where I started (creating my own request handler,
> snagging the IP address and stashing it), but I couldn't come up with
> a stash location that would work for a threaded server.

How about a dictionary indexed by by the thread name.  It's pretty
lame, though, that the rpc server module itself doesn't make the
request available to the rpc responder.  Maybe you should submit a
patch.

> My biggest specific fear at the moment is that sys._frame will do
> funky things with multiple threads,

You should not rely on anything that implementation specific at all.
What happens if you want to switch to pypy?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to