On Sun, Jul 26, 2009 at 10:13 AM, Jeffrey Sax<jeff...@extremeoptimization.com> wrote: > > Still, given the performance degradation, it seems odd you have to turn > frames on just to import a module regardless of whether you actually need > the frames functionality.
For that reason, modules should have guards similar to if not hasattr(sys, '_getframe'): ... around any code that uses frames, and disable that functionality if they're not available. Both Jython and IronPython have the same problem with frames causing a large performance hit, so it helps portability. - Jeff _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com