Itamar, thanks for the reply. > You could create a Python API that looks close enough to the code using > xmlrpclib, but just uses direct Python function calls. Depending on your > code this may mean you don't actually need the reactor. If you do need a > reactor, you could still do it without actually doing xmlrpc queries to > yourself. If you run the reactor in a different thread, > blockingCallFromThread lets you "wait" on a Deferred from another > non-reactor thread, in your case the GUI thread (might block your GUI > though).
Hmm, not sure I understand. Are you saying that deferreds will "work" without having a reactor? (I'm using inlineCallbacks on all the xmlrpc_* methods.) One thing I should have said, but didn't, is that the methods in the subhandler make DB calls using adbapi, so use deferreds pretty heavily. I'm willing to block the GUI, at least for now. -- Don Dwiggins Advanced Publishing Technology _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python