IronPython

Denny
2006-10-31
2013-05-28
  • Denny

    Denny - 2006-10-31

    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?

     
    • Jeff Thompson

      Jeff Thompson - 2006-11-09

      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.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks