[IronPython] How to know "-X:FullFrames"

yngipy hernan yngipy at gmail.com
Wed Jun 23 09:06:58 CEST 2010

Ok, I think I found it:
import sys
if hasattr(sys,'_getframe'):
  print "yes"

On Wed, Jun 23, 2010 at 2:03 AM, yngipy hernan <yngipy at gmail.com> wrote:

> Hi All,
> How would I know if _getframe is supported in sys module? From the
> blogosphere, you need to type -X:FullFrames to enable _getframe but I would
> like to detect if this is available or not in ipy script.
> Regards,
> Yngipy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100623/52c8415a/attachment.html>

More information about the Ironpython-users mailing list