class in IronPython?

Mike Greaves mike1 at tumladen.net
Wed Aug 11 06:40:54 EDT 2004


I see from Google groups that I'm not the only one to have this
problem...

In Jim H.'s new IronPython 0.6:

mono bin/IronPythonConsole.exe
>>> class myClass:
...   pass
...
System.NullReferenceException: Object reference not set to an instance
of an object

...

Am I missing something basic?
Yes, I suspected Mono, and so tried it in .NET 1.1 on  an XP
machine...
And actual working (non-empty) classes don't work either.

Is the class mechanism not yet implemented?  Does Jim say as much in a
doc or a posting somewhere?

Thanks for any insight.

Mike Greaves



More information about the Python-list mailing list