How can I use –X:Frames in Ironpython?

后端 未结 1 1145
忘掉有多难
忘掉有多难 2021-01-03 05:32

Visual Studio 2010 + Ironpython for .net4

I want to use numpy in ironpython, and they said I must use frames support. So, I should running ipy with -X:Frames or -X:

相关标签:
1条回答
  • 2021-01-03 05:56
    1. IronPython Tools for Visual Studio has been deprecated by Python Tools for Visual Studio (see http://pytools.codeplex.com). Using Python Tools in VS 2010: open Tools=>Options=>Python Tools=>Interpreter Options and add "-X:FullFrames" to the "Interactive Window Options" field.

    2. When you create your IronPython engine via IronPython.Hosting.Python.CreateEngine, use the overload that accepts a Dictionary. This dictionary parameter needs a FullFrames key set to true. Performance of Mass-Evaluating Expressions in IronPython will give you a good idea how to do this.

    0 讨论(0)
提交回复
热议问题