[Patches] [Patch #102106] sys._getframe() for getting the current stack frame
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 24 Oct 2000 20:43:36 -0700
Patch #102106 has been updated.
Project:
Category: core (C code)
Status: Open
Summary: sys._getframe() for getting the current stack frame
Follow-Ups:
Date: 2000-Oct-24 20:43
By: bwarsaw
Comment:
This patch adds a function to the sys module which will return a frame object. By default, it returns the frame object of the current stack frame, but an optional integer argument can be supplied to retrieve any frame higher up the stack. If the integer is greater than the depth of the stack, a ValueError is raised.
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=102106&group_id=5470