[Twisted-Python] Re : executing .rpy in a thread

Bob Ippolito bob at redivi.com
Tue Sep 16 15:50:45 EDT 2003

On Tuesday, Sep 16, 2003, at 15:10 America/New_York, Itamar 
Shtull-Trauring wrote:

> On Tue, 16 Sep 2003 20:38:14 +0200 (MEST)
> "Jerome Jushima" <ccom at gmx.net> wrote:
>>          d.addCallback(request.finish)
> Should be d.addCallback(lambda _: request.finish()) since it takes no
> arguments.
> However, this approach in general is wrong. Using Woven is probably a
> better way of dealing with this, since it handles Deferreds
> transparently.

It's definitely not wrong to go without Woven in a lot of cases, such 
as non-XML output, but I provided a Pretty Good Example of how to do 
what he asked in my previous message in this thread.


More information about the Twisted-Python mailing list