Re: [IronPython] Accessing call stack

2007-09-20 Thread Dino Viehland
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

Re: [IronPython] Accessing call stack

2007-09-20 Thread Lee Culver
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

Re: [IronPython] Accessing call stack

2007-09-20 Thread Dino Viehland
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

[IronPython] Accessing call stack

2007-09-20 Thread Anders M. Mikkelsen
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