1

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.

1 Answer 1

1

Resolved. Turns out that you need to rebuild IronPython from source, with the command line options –X:Frames or –X:FullFrames.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.