[IronPython] Inheriting Python classes from .NET classes

Sriram Krishnan sriramk at gmail.com
Tue Mar 29 08:35:37 CEST 2005


I've been playing around with the 0.7 release for the last couple of days. I
tried to write Don Box's Http.Sys ASP.NET web server (Google for
cache:http://www.gotdotnet.com/team/dbox/default.aspx?key=2004-03-30T07:38:4
5Z).

He extends from MarshalByRefObject

public class SubDomainCode : MarshalByRefObject
{...


When I try to do the same thing in a Python class by writing

class SubDomainCode(MarshalByRefObject)

I get a NotImplementedException. I've loaded the required assemblies
properly. What am I doing wrong here? Or is inheriting .NET types not
implemented yet in 0.7?

Thanks,
Sriram




More information about the Ironpython-users mailing list