On 5/1/06, <b class="gmail_sendername">jmp</b> &lt;<a href="mailto:jean-marc.pouchoulon@ac-montpellier.fr">jean-marc.pouchoulon@ac-montpellier.fr</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">


  


<br>
<blockquote cite="http://mid20060501210531.GA1122@cs.cmu.edu" type="cite"></blockquote></div><div style="direction: ltr;"><span class="q">
  <pre>Basically, it means &quot;Program it yourself, don't depend on Twisted to<br>do it for you&quot; :)<br>  </pre></span></div><div style="direction: ltr;">

<br>
Does this means that threads.deferToThread&nbsp; will be unavailable in the
future ?<br>
I need it to use twisted and python-ldap. (ldaptor seems to be broken
on twisted 2.2 ).<br>
<br></div></blockquote></div><br>I'm not really sure how you got that warning just from importing
t.p.context. You're probably using out-of-sync versions of various
Twisted bits. I suggest trying to install the latest Twisted release
from scratch. As the warning says, it's not deferToThread that's
deprecated, it's whenThreaded.<br><br><br clear="all"><br>-- <br>Christopher Armstrong<br>International Man of Twistery<br><a href="http://radix.twistedmatrix.com/">http://radix.twistedmatrix.com/</a><br><a href="http://twistedmatrix.com/">
http://twistedmatrix.com/</a><br><a href="http://canonical.com/">http://canonical.com/</a><br>