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

Itamar Shtull-Trauring itamar at itamarst.org
Tue Sep 16 15:10:26 EDT 2003

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
However, this approach in general is wrong. Using Woven is probably a
better way of dealing with this, since it handles Deferreds

Itamar Shtull-Trauring    http://itamarst.org/
Available for Python & Twisted consulting

More information about the Twisted-Python mailing list