It's because we strip out CPython modules that aren't importable by ipy. That is, the sys._getframe issue I talked about at http://knowbody.livejournal.com/13271.html is the underlying culprit here: C:\Program Files\IronPython 2.6>ipy.exe IronPython 2.6 Alpha 1 (2.6.0.1) on .NET 2.0.50727.3053 Type "help", "copyright", "credits" or "license" for more information. >>> import inspect Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Program Files\IronPython 2.6\Lib\inspect.py", line 262, in inspect File "C:\Program Files\IronPython 2.6\Lib\collections.py", line 106, in namedtuple ValueError: _getframe is not implemented for non-zero depth >>>
We should have this fixed in one form or another before the final version of 2.6 ships. Dave -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Davy Mitchell Sent: Tuesday, May 12, 2009 10:12 PM To: Discussion of IronPython Subject: [IronPython] Inspect Module Hi Folks, Is there a reason why Inspect is missing from the 2.6 msi? It is present in 2.01. Thanks, Davy Mitchell http://daftspaniel.blogspot.com _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
