On 7/11/07, <b class="gmail_sendername">Michael Sparks</b> &lt;<a href="mailto:ms@cerenity.org">ms@cerenity.org</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wednesday 11 July 2007 10:25, M. David Peterson wrote:<br>&gt; &gt; &gt; File HTTPClient, line unknown, in Initialize<br>&gt; &gt; &gt; SyntaxError: yield in more than one try blocks<br><br>This is a bug in the IronPython implementation of python&#39;s generators - this
<br>has been legal in python since python 2.2.2. I&#39;m guessing it&#39;s a known bug by<br>the sounds of things.</blockquote><div><br>Yep, I believe so.<br><br>IronPython team: Are there any known concerns that might keep this from making into the final 
IP2.0 release?<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The reason incidentally we focus on compatibility with python 2.2.2
 is because<br>that also happens to be the version of python ported to Nokia mobile phones,<br>and we&#39;d like to retain the option of running Kamaelia on such platforms.<br>(Having done so in the past and found we can do some fun things as a
<br>result! :)</blockquote><div><br>Which leads me to wonder how much of an impact Silverlight/DLR in the mobile device space might have?&nbsp; The notion of decentralized concurrent inbox/outbox operations taking place over, for example, a Kamaelia-based mesh network sounds WAY TOO COOL not to get excited about.
<br><br>Michael: FYI &gt; The Dynamic Language Runtime is what IronPython 2.0 as well as IronRuby, a new JScript.NET implementation, as well as a new language referred to as Dynamic VB are built upon.&nbsp; If not mistaken, once Kamaelia can be run successfully on IronPython 
2.0, then all of Kamaelia would be accessible via this same base of languages as well as other DLR-based projects such as Vista Smalltalk/DLR<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The nice thing about the above code is that it looks pretty linear, but has<br>the cross platform scalabilty benefits of state machine approach. (which is<br>*why* we use generators rather than threads)</blockquote><div><br>
Nice!&nbsp; I wasn&#39;t aware of this until now, but it makes complete sense!</div></div><br>-- <br>/M:D<br><br>M. David Peterson<br><a href="http://mdavid.name">http://mdavid.name</a> | <a href="http://www.oreillynet.com/pub/au/2354">
http://www.oreillynet.com/pub/au/2354</a> | <a href="http://dev.aol.com/blog/3155">http://dev.aol.com/blog/3155</a>