On Wed, 2011-11-02 at 11:24 +0000, Phil Mayers wrote:
> I only just noticed today that if a generator passed to a 
> CooperativeTask does:
> 
>    result = yield some_deferred()
> 
> ...it doesn't work, because CooperativeTask doesn't .send() the result 
> of the deferred bacn into the generator.
> 
> Is this intentional? If not, would that behaviour be desirable? It seems 
> like it would be a useful pattern to me.

Could you give an example snippet? I don't really understand the
question, sorry.


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to