Re: [IronPython] Performance of dir

2009-05-23 Thread Michael Foord
Michael Foord wrote: Hello all, On IronPython 2.0.1 the last line of this code takes ~4 seconds the first time it is executed: >>> import clr >>> clr.AddReference('System.Windows.Forms') >>> from System.Windows.Forms import * >>> dir(Form) Form.__dict__.keys() (which for a .NET type is equiv

[IronPython] Performance of dir

2009-05-23 Thread Michael Foord
Hello all, On IronPython 2.0.1 the last line of this code takes ~4 seconds the first time it is executed: >>> import clr >>> clr.AddReference('System.Windows.Forms') >>> from System.Windows.Forms import * >>> dir(Form) Form.__dict__.keys() (which for a .NET type is equivalent) takes ~1 secon

[IronPython] 2.6 Beta 1 Bug: help() requires _getframe support which is now optional

2009-05-23 Thread Mike Krell
With 2.6 beta 1 and without -X:frames: >>> help() Traceback (most recent call last): File "", line 1, in File "C:\Program Files\IronPython 2.6\Lib\site.py", line 428, in __call__ File "C:\Program Files\IronPython 2.6\Lib\pydoc.py", line 53, in C:\Program Files\IronPython 2.6\Lib\pydoc.py File "C:\