[IronPython] Inspect Module

Dave Fugate dfugate at microsoft.com
Wed May 13 09:11:02 PDT 2009


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: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] 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
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Users mailing list