<div dir="ltr">It works! It never occurred to me that Twisted might unwrap the Deferred automatically.<br><br>Thank you for your prompt replies!<br><br><div class="gmail_quote">On Tue, Jul 22, 2008 at 11:31 AM, Christopher Armstrong &lt;<a href="mailto:radix@twistedmatrix.com">radix@twistedmatrix.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Tue, Jul 22, 2008 at 2:17 PM, Saketh &lt;<a href="mailto:saketh.bhamidipati@gmail.com">saketh.bhamidipati@gmail.com</a>&gt; wrote:<br>

&gt; Hello everyone,<br>
&gt;<br>
&gt; Is it possible to call asynchronous methods synchronously?<br>
&gt;<br>
&gt; I&#39;m asking because I have an xmlrpc.XMLRPC server which distributes a<br>
&gt; calculation across several remote servers, collects the results in a<br>
&gt; DeferredList, and wraps it all inside an xmlrpc_something method. Thus, it<br>
&gt; needs to return the result to a web browser synchronously.<br>
<br>
</div>Everything after &quot;thus&quot; here is incorrect. You can return Deferreds<br>
from xmlrpc_something methods.<br>
<font color="#888888"><br>
<br>
--<br>
Christopher Armstrong<br>
International Man of Twistery<br>
<a href="http://radix.twistedmatrix.com/" target="_blank">http://radix.twistedmatrix.com/</a><br>
<a href="http://twistedmatrix.com/" target="_blank">http://twistedmatrix.com/</a><br>
<a href="http://canonical.com/" target="_blank">http://canonical.com/</a><br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</div></div></blockquote></div><br></div>