[Twisted-web] Re: Good ROM tool ?

william william at opensource4you.com
Tue Jan 17 08:55:50 MST 2006


Paul G <paul-lists <at> perforge.com> writes:

> > It's seems that SQLAlchemy does a better job with Twisted. Valentino
> > Volonghi also spotted this out on our local italian newsgroup:
> > http://groups.google.it/group/it.comp.lang.python/msg/35539f1329960eef
> 
> hmm, the absence of deferToThread in that code is conspicuous. how are the 
> db operations made asynchronous? any chance a kind, italian-reading soul can 
> translate/elaborate? signor valentino, perhaps?
> 
> -p 
> 

??? I see well a deferToThread ???

"return threads.deferToThread(_1) "

It's in the "transact" decorator.

Thanks Paul, I'll try this solution. 
This sounds to be a nice one.


William




More information about the Twisted-web mailing list