[IronPython] Hosting IronPython 2.X in .NET app
dinov at exchange.microsoft.com
Tue Jul 10 22:25:54 CEST 2007
Does Kamaelia use the new syntax as supported via PEP-342 (http://www.python.org/dev/peps/pep-0342/). That’s the particular piece that we don’t support and is new to 2.5 – we do support generators when you use yield as a statement instead of as an expression (in other words, we don’t support the send method on the generator – only next). It’s hard to tell as 1.5.1 was released shortly after Python 2.5 and I don’t see any statements about which version of Python is required.
Looking at all the various things it supports I would be shocked if there wasn’t some use of the C-based extension API (which would prevent, at least some portions, from working).
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of M. David Peterson
Sent: Tuesday, July 10, 2007 1:06 PM
To: Discussion of IronPython
Cc: kamaelia-list at lists.sourceforge.net
Subject: Re: [IronPython] Hosting IronPython 2.X in .NET app
On 7/10/07, Sylvain Hellegouarch <sh at defuze.org<mailto:sh at defuze.org>> wrote:
Not to worry :)
However the question stands, will Python support closures (or does it
already via lambda expressions?)
Depends on your interpretation of what a closure is. One interpretation is that w ith closures you can, for example, have a series of lambda expressions, evaluate up to a certain point, add a marker, store it, and then continue where you left off at a later date.
As per our conversation in IM, this would certainly be one way to move towards a stackless and thread-free Python diet. ;-)
Also, since we're on the subject, one *true test* of Python language interoperability would be to get Kamaelia ( http://kamaelia.org ) to work properly via IronPython.
Kamaelia list (Cc'd): Has anyone attempted to get Kamaelia working with IronPython? If I am understanding things correctly, until support for generators are implemented then this would not be possible. Is this understanding correct?
To the IronPython team: Having the ability to run Kamaelia (a brainchild of Michael Sparks of BBC Research) via IronPython would be an absolute dream come true. *AMAZING* potential existing bridging together Kamaelia and .NET, in my own opinion.
M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 | http://dev.aol.com/blog/3155
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users