[Twisted-Python] What is the meaning of "threadable.whenThreaded is deprecated Use application-level logic instead"

Christopher Armstrong radix at twistedmatrix.com
Mon May 1 18:10:06 EDT 2006


On 5/1/06, jmp <jean-marc.pouchoulon at ac-montpellier.fr> wrote:
>
>
>  Basically, it means "Program it yourself, don't depend on Twisted to
> do it for you" :)
>
>
> Does this means that threads.deferToThread  will be unavailable in the
> future ?
> I need it to use twisted and python-ldap. (ldaptor seems to be broken on
> twisted 2.2 ).
>
>
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.



--
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20060501/77bd0ea4/attachment.htm 


More information about the Twisted-Python mailing list