Re: [IronPython] SyntaxError: yield in more than one try blocks

2007-05-10 Thread Sylvain Hellegouarch
Great :) Thanks, Martin Maly wrote: > Absolutely! > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sylvain > Hellegouarch > Sent: Thursday, May 10, 2007 10:31 AM > To: Discussion of IronPython > Subject: Re: [IronPython] SyntaxError: yield in more

Re: [IronPython] SyntaxError: yield in more than one try blocks

2007-05-10 Thread Martin Maly
Absolutely! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sylvain Hellegouarch Sent: Thursday, May 10, 2007 10:31 AM To: Discussion of IronPython Subject: Re: [IronPython] SyntaxError: yield in more than one try blocks I assume you are looking at a sol

Re: [IronPython] SyntaxError: yield in more than one try blocks

2007-05-10 Thread Sylvain Hellegouarch
I assume you are looking at a solution in the future :) Martin Maly wrote: > Yes, this is currently a an unfortunate limitation of our compiler. > > Martin > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sylvain > Hellegouarch > Sent: Thursday, Ma

Re: [IronPython] A Few Questions for the Python Community re Survey Response

2007-05-10 Thread Carl Trachte
Sorry, my bad. I didn't see the "limited to cPython, IronPython, and Jython thing until Carl K.'s e-mail. Nevermind. On 5/10/07, Carl Trachte <[EMAIL PROTECTED]> wrote: Jeff, I don't know if PyPy "counts" as an official Python implementation, but I'm pretty sure you can add new keywords in Py

Re: [IronPython] SyntaxError: yield in more than one try blocks

2007-05-10 Thread Martin Maly
Yes, this is currently a an unfortunate limitation of our compiler. Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sylvain Hellegouarch Sent: Thursday, May 10, 2007 3:40 AM To: Discussion of IronPython Subject: [IronPython] SyntaxError: yield in

Re: [IronPython] A Few Questions for the Python Community re Survey Response

2007-05-10 Thread Carl Trachte
Jeff, I don't know if PyPy "counts" as an official Python implementation, but I'm pretty sure you can add new keywords in PyPy (I'm not a PyPy expert, or even a dilettante, but I've seen this capability demo'd at PYCON). Carl T. 1) Can a developer extend the language by adding new keywords? My

[IronPython] A Few Questions for the Python Community re Survey Response

2007-05-10 Thread Jeff Rush
The official Forrester Research survey form on dynamic languages has arrived and as advocacy coordinator, I'm starting to fill it in. Here are some questions on which I could use some input. Please reply via private email, to avoid cluttering the lists and cross-posting issues, and I'll collate a

[IronPython] SyntaxError: yield in more than one try blocks

2007-05-10 Thread Sylvain Hellegouarch
[EMAIL PROTECTED] mono bin/ipy.exe IronPython 1.1 (1.1) on .NET 2.0.50727.42 def test(): try: yield 1 except: try: yield 2 except: pass if __name__ == '__main__': for _ in test(): print _ Will produce: [EMAIL PROTECTED] mono bi