[Twisted-Python] Blocking on deferreds during unit tests (e.g. deferredResult)

Itamar Shtull-Trauring itamar at itamarst.org
Sun May 8 11:05:02 EDT 2005


On Sat, 2005-05-07 at 11:02 -0400, Kevin Dangoor wrote:

> Using gthreadless, one could interface sqlobject and Twisted's db
> interface to take advantage of the work done in Twisted Enterprise to
> make sqlobject-style database access safe for Twisted. (It's
> undoubtedly possible without gthreadless, but it seems like it would
> be a lot easier)

Nope, that wouldn't work. greenlets do *not* make blocking APIs ot
block.





More information about the Twisted-Python mailing list