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

Colin McMillen mcmillen at cs.cmu.edu
Mon May 1 17:05:31 EDT 2006


On Mon, May 01, 2006 at 10:15:18PM +0200, jmp wrote:
> Helo ,
> Vhat is the meaning of "Use application-level logic instead" ?
> 
> 
> import twisted.internet.threads
> /usr/lib/python2.4/site-packages/twisted/python/context.py:74: 
> DeprecationWarning: threadable.whenThreaded is deprecated. Use 
> application-level logic instead.
>  threadable.whenThreaded(initThreads)

Basically, it means "Program it yourself, don't depend on Twisted to
do it for you" :)

- Colin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20060501/34cc4688/attachment.pgp 


More information about the Twisted-Python mailing list