If you let SQLAlchemy block twisted would there be any impact besides performance? <div><br></div><div>Dan<br><br><div class="gmail_quote">On Fri, May 7, 2010 at 1:35 PM, <span dir="ltr"><<a href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 03:37 pm, <a href="mailto:drwxrwxr.x%2Btwistedmail@gmail.com">drwxrwxr.x+twistedmail@gmail.com</a> wrote:<br>
>>(yield resultset[10:20]).sort(Sort.ASC)<br>
>><br>
>>assuming a new enough version of Python.<br>
><br>
>I wonder if it a good idea to subclass Deferred and define __call__()<br>
>for it, making it attach callbacks to itself.<br>
>Theoretically should work in earlier versions and make the syntax look<br>
>more transparent.<br>
<br>
</div>Let me clear that up for you, then.<br>
<br>
No, this is not a good idea. :)<br>
<br>
Jean-Paul<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</div></div></blockquote></div><br></div>