I'm trying to use a module that requires sys._getframe(), which, as I understand it, is not enabled by default. I've seen a lot of material that suggests that there is a way to enable _getframe(), but I've yet to find anything that tells me how to do so. What is the proper method for enabling this function in IronPython 2.6.1? Does one even exist? Thanks in advance.
Asked
Active
Viewed 920 times
1 Answers
1
Resolved. Turns out that you need to rebuild IronPython from source, with the command line options –X:Frames or –X:FullFrames.

JustOnePixel
- 689
- 1
- 7
- 16
-
1You shouldn't have to rebuild it - those options are in the official installer. – Jeff Hardy Sep 23 '10 at 22:03
-
1Ha, yeah, figured that one out right when I was knee deep in the IPy source...bleh. Thanks! – JustOnePixel Sep 24 '10 at 19:44