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 <[email protected]> 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
>
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to