May 2, 2003
2:33 p.m.
Well, I think it was a misconception on my part.. It does seem as if the reactor is not _designed_ to be used in short 'scripts' like this one, but I wasn't aware you could call reactor.stop(). On Wed, 2003-04-30 at 20:39, Itamar Shtull-Trauring wrote:
On 30 Apr 2003 20:29:01 -0500 Justin Ryan <justin@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.