We're picking up the .NET type name (we have a .NET type to represent NoneType) not the Python type name. You can also see it with ""() where we report String is not callable. It's simple enough to fix.
From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Ronnie Maor Sent: Tuesday, March 16, 2010 7:12 AM To: Discussion of IronPython Subject: [IronPython] minor issue with types in error messages CPython: >>> None(3) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'NoneType' object is not callable on IPy 2.6.0: >>> None(3) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: DynamicNull is not callable for some reason the type in the error shows up as DynamicNull instead of NoneType type(None) looks fine int behaves similarly. this doesn't affect me at all, except for scratching my head for a bit longer when I debugged my code just now, but thought you might want to know. Ronnie
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com