I recently built IronPython into my application. Unfortunately in the CLR, yield is not allowed inside a try, unless it is also in the catch/finally (yield is different in that respect from standard python). Thus YieldProlog will not load into IronPython. (Obviously I can use the C# version, but I prefer a more interactive solution with python). Thoughts?
Yield Prolog requires Python 2.5 which supports catch/finally with yield.
The finally clause is used by Variable.unify to unbind the value after yielding.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.