[Twisted-Python] adbapi question

Itamar Shtull-Trauring itamar at itamarst.org
Wed Apr 30 21:39:30 EDT 2003


On 30 Apr 2003 20:29:01 -0500
Justin Ryan <justin at gnubia.net> wrote:

> Someone will surely correct me if I'm wrong, but I ran into this same
> dilemma when I began to use twisted.  It seems that as twisted is an
> event-driven framework for asynchronous networked applications, it
> isn't intended to be used in this way.

Dunno what you mean by "this way". If you need to deal with a blocking
database operation you dispatch it to the thread pool, and that works
just fine.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting




More information about the Twisted-Python mailing list