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.