Here's the best solution I've found for this: http://blog.bjola.ca/2007/08/using-timeout-with-xmlrpclib.html
On Mar 16, 4:03 pm, Kuba Kucharski <[email protected]> wrote: > so I do (on the xmlrpc client) > > import xmlrpclib > server=xmlrpclib.ServerProxy('http://77.72.228.30/vae/default/call/xmlrpc') > > but I would like a timeout because oncoming line: > > server.query(.. > > tends to hang the program when the server is down > > I don't want threads. I just want it to timeout.. > > How to achieve this with PYTHON? as I understand this is proper xmlrpc > behaviour and I need a way around, and this is pretty hard to google.. > > -- > Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

