On 7/11/07, <b class="gmail_sendername">Michael Sparks</b> <<a href="mailto:ms@cerenity.org">ms@cerenity.org</a>> 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>> > > File HTTPClient, line unknown, in Initialize<br>> > > SyntaxError: yield in more than one try blocks<br><br>This is a bug in the IronPython implementation of python's generators - this
<br>has been legal in python since python 2.2.2. I'm guessing it'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'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? 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 > 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. 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! I wasn'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>