[IronPython] sys._getframe(n)?

Mike Krell mbk.lists at gmail.com
Thu Apr 30 03:19:46 CEST 2009

On Wed, Apr 29, 2009 at 8:34 AM, Dino Viehland <dinov at microsoft.com> wrote:
> Yep, we're going to make it available via a command line option.  The
> Interesting question is what does IPython need from frames?  Does it
> need locals (which frequently won't be available), globals, the function
> or code, or something else?

I hadn't looked at the source until now, but a cursory glance suggests
that it typically wants to evaluate expressions with the locals (and
globals) from various stack frames.  Could you discuss in a bit more
detail why certain locals wouldn't be available that would otherwise
be available in CPython?


More information about the Ironpython-users mailing list