<div class="gmail_quote">On Thu, Apr 22, 2010 at 3:21 AM, Phil Mayers <span dir="ltr">&lt;<a href="mailto:p.mayers@imperial.ac.uk">p.mayers@imperial.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div id=":1xt" class="ii gt">If that&#39;s the case, then the answer is &quot;sort of&quot; but I think you might have misunderstood Twisted a bit. The entire point is to have non-blocking APIs, not to want a blocking API.<br>

</div></blockquote></div><br><div>That sounds like might be the case case. Wwhat I&#39;m looking for, then, is a way to use the IRCClient protocol outside of Twisted - in a way where I can use it like:</div><div><br></div>

<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>connection = # something using IRCClient</div><div>msg = connection.privmsg() # blocks</div><div>assert msg == &quot;andreyf: hello there, lovely IRC users!&quot;</div>

</blockquote><div><br></div><div>Are there any projects along those lines?</div><div><br></div>Cheers,<br><div>Andrey</div>