seful scenarios.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee Culver
Sent: Thursday, September 20, 2007 1:35 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Accessing call stack
In a related problem, could you guys take another look at sys._getframe when
implementi
should be able to do something here.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anders M.
Mikkelsen
Sent: Thursday, September 20, 2007 3:54 AM
To: Discussion of IronPython
Subject: [IronPython] Accessing call stack
Hi
Is there any way of accessing the python call stack in Ir
g here.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anders M.
Mikkelsen
Sent: Thursday, September 20, 2007 3:54 AM
To: Discussion of IronPython
Subject: [IronPython] Accessing call stack
Hi
Is there any way of accessing the python call stack in IronPython.
I'we tried using
Hi
Is there any way of accessing the python call stack in IronPython.
I'we tried using System.Diagnostics.StackTrace but most calls
on the clr call stack seem to be ironpython 'internals':
def Log(msg):
'''General logging function'''
print "%s: %s" % (StackTrace(1).GetFrame(0).GetMeth