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__',
Hi Ray,
With .NET Frameworks Beta 2 the behavior is exactly as you observe,
however, I found that your code works as expected on the newest builds
of .NET Frameworks, including the Visual Studio Release Candidate build
available to MSDN subscribers.
Martin
-Original Message-
From: [EMAIL
The incorrect number of arguments misleading error is a known problem
that I haven't had time to fix yet.
Martin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ray Djajadinata
Sent: Sunday, September 25, 2005 3:39 AM
To: users-ironpython.com@lists.ironpy