On 5/1/06, jmp <jean-marc.pouchoulon@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/