[IronPython] Bug in IronPython 0.9.x (0-2)

2005-09-26 Thread Steven Drucker
dir does not work correctly for inherited classes.   Repro:   class foo():     def fooprint(self, b):     print(b);   class bar(foo):     def barprint(self,b):     print(b);     dir(foo) ['__doc__', 'fooprint'] dir(bar) ['__doc__', 'barprint']     Should be dir(bar) ['__doc__',

[IronPython] bug in dir() function??

2005-08-17 Thread Steven Drucker
It looks like the dir() function does not list the functions for superclasses (either dirring the class or instance variable).   Repro:     class foo():     def foofunc(self):     print ‘foofunc’;       class bar(foo

RE: [IronPython] 'map' not working the same between IronPython-0.7.xand IronPython-0.9?

2005-08-03 Thread Steven Drucker
Typo in the sample – should read: filesraw = System.IO.Directory.GetFiles(‘D:\\temp\\photos’); --S     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Drucker Sent: Wednesday, August 03, 2005 12:55 PM To: users-ironpython.com@lists.ironpython.com Subject

[IronPython] 'map' not working the same between IronPython-0.7.x and IronPython-0.9?

2005-08-03 Thread Steven Drucker
I used to be able to do the following code:   def foo(a):     print a;   filesraw = System.IO.Directory(‘D:\\temp\\photos”); map(foo,filesraw);   and it would work just fine.     Now, however, this is no longer working. The error I get is as follows: PythonTypeError: f

[IronPython] 'map' not working the same between IronPython-0.7.x and IronPython-0.9 ?

2005-08-03 Thread Steven Drucker
I used to be able to do the following code:   def foo(a):     print a;   filesraw = System.IO.Directory(‘D:\\temp\\photos”); map(foo,filesraw);   and it would work just fine.     Now, however, this is no longer working. The error I get is as follows: PythonTypeError: f