Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-15 Thread Michael Foord
JoeSox wrote: > On 7/6/07, Chris Parnin <[EMAIL PROTECTED]> wrote: > >> I've seen several examples of how to embed IronPython 1.X in .NET. >> (e.g. IronTextBox) However, the architecture has changed greatly with >> 2.X. Does anyone have a good example or pointers on hosting an >> interactive Ir

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-11 Thread Sylvain Hellegouarch
Ken Manheimer a écrit : > On 7/10/07, *M. David Peterson* <[EMAIL PROTECTED] > > wrote: > > > On 7/10/07, *Sylvain Hellegouarch* < [EMAIL PROTECTED] > > wrote: > > > Not to worry :) > However the question stands, will Pyth

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread Ken Manheimer
On 7/10/07, M. David Peterson <[EMAIL PROTECTED]> wrote: On 7/10/07, Sylvain Hellegouarch <[EMAIL PROTECTED]> 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 closur

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread M. David Peterson
On 7/10/07, Sylvain Hellegouarch <[EMAIL PROTECTED]> wrote: I can understand your feeling but the core of the library is actually pure Python and very small. It's only all its extra features that do use C libraries. The core of Kamaelia is Python. Didn't see your response before my last resp

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread Sylvain Hellegouarch
Dino Viehland a écrit : > > 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

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread Dino Viehland
extension API (which would prevent, at least some portions, from working). From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of M. David Peterson Sent: Tuesday, July 10, 2007 1:06 PM To: Discussion of IronPython Cc: [EMAIL PROTECTED] Subject: Re: [IronPython] Hosting IronPython 2.X in .NET

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread M. David Peterson
On 7/10/07, Jacob Lee <[EMAIL PROTECTED]> wrote: Closures have existed in Python since version 2.1 or so: def f(): x = 5 return lambda: x closure = f() print closure() # prints 5 Here, the anonymous inner function returned by f is able to refer to variables defined in outer sco

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread M. David Peterson
On 7/10/07, Sylvain Hellegouarch <[EMAIL PROTECTED]> 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 with closures you can, for examp

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread Sylvain Hellegouarch
Jacob Lee a écrit : >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:users- >> [EMAIL PROTECTED] On Behalf Of Sylvain Hellegouarch >> Sent: Tuesday, July 10, 2007 12:54 PM >> To: Discussion of IronPython >> Subject: Re: [IronPython] Hosting I

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread Jacob Lee
> -Original Message- > From: [EMAIL PROTECTED] [mailto:users- > [EMAIL PROTECTED] On Behalf Of Sylvain Hellegouarch > Sent: Tuesday, July 10, 2007 12:54 PM > To: Discussion of IronPython > Subject: Re: [IronPython] Hosting IronPython 2.X in .NET app > > Curt Hagenl

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread Sylvain Hellegouarch
Curt Hagenlocher a écrit : > On 7/10/07, *Curt Hagenlocher* <[EMAIL PROTECTED] > > wrote: > > On 7/10/07, *Dino Viehland* < [EMAIL PROTECTED] > > wrote: > > Major things we know we still have to do include yield > expressi

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread M. David Peterson
On 7/10/07, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: Doh! I'm so retarded that I misspelled "generators" :(. Hey, I'm all for getting support for both! :D Apparently I've been reading too much about Ruby lately... Haven't we all, Curt. Haven't we all.. ;-) -- /M:D M. David Peter

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread M. David Peterson
CTED] [mailto: [EMAIL PROTECTED] <[EMAIL PROTECTED]>.com<[EMAIL PROTECTED]>] *On Behalf Of *M. David Peterson *Sent:* Tuesday, July 10, 2007 12:17 PM *To:* Discussion of IronPython *Subject:* Re: [IronPython] Hosting IronPython 2.X in .NET app On 7/6/07, *JoeSox* <[EMAIL PROTECTED]>

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread M. David Peterson
On 7/10/07, M. David Peterson <[EMAIL PROTECTED]> wrote: On 7/10/07, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: > > On 7/10/07, Dino Viehland < [EMAIL PROTECTED]> wrote: > > > > Major things we know we still have to do include yield expressions > > (sorry, there's probably a technical term for

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread Curt Hagenlocher
On 7/10/07, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: On 7/10/07, Dino Viehland <[EMAIL PROTECTED]> wrote: > > Major things we know we still have to do include yield expressions > (sorry, there's probably a technical term for them) > Closures :P. Doh! I'm so retarded that I misspelled "gen

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread M. David Peterson
On 7/10/07, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: On 7/10/07, Dino Viehland <[EMAIL PROTECTED]> wrote: > > Major things we know we still have to do include yield expressions > (sorry, there's probably a technical term for them) > Closures :P. Are closures planned for Python 3000? -- /

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread Curt Hagenlocher
On 7/10/07, Dino Viehland <[EMAIL PROTECTED]> wrote: Major things we know we still have to do include yield expressions (sorry, there's probably a technical term for them) Closures :P. -- Curt Hagenlocher [EMAIL PROTECTED] ___ users mailing list us

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread Dino Viehland
IronPython Subject: Re: [IronPython] Hosting IronPython 2.X in .NET app On 7/6/07, JoeSox <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: One of the reasons why I haven't updated IronTextBox is that IronPython 2 is in Alpha. I decided to wait until it was Beta. On top o

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-10 Thread M. David Peterson
On 7/6/07, JoeSox <[EMAIL PROTECTED]> wrote: One of the reasons why I haven't updated IronTextBox is that IronPython 2 is in Alpha. I decided to wait until it was Beta. On top of that, Python is set for a major version upgrade soon, so I don't know how this will effect IronPython's developmen

Re: [IronPython] Hosting IronPython 2.X in .NET app

2007-07-06 Thread JoeSox
On 7/6/07, Chris Parnin <[EMAIL PROTECTED]> wrote: > I've seen several examples of how to embed IronPython 1.X in .NET. > (e.g. IronTextBox) However, the architecture has changed greatly with > 2.X. Does anyone have a good example or pointers on hosting an > interactive IronPython session in a .NE