Hi IronPython user message board,

I have defined three classes in a C# project:

public class BaseClass
{
}

public class SubClass : BaseClass
{
}

public class SubClass<T> : BaseClass
{
}

The following IronPython code throws a TypeErrorException (IronPython 2.7):

issubclass(SubClass, BaseClass)

Exception-Message: issubclass() arg 1 must be a class

Everything works fine when I just remove the generic class or move it to 
another namespace.

Why? What can I do to make this work?

Regards
  -- Jan

_____________________________________________________



i.A. Jan Pilger

- Development Software -

_____________________________________________________


extension:

+49 8035 8704-543

phone:

+49 8035 8704-0

fax:

+49 8035 1010

e-mail:

j.pil...@steinbichler.de<mailto:j.pil...@steinbichler.de>

web:

www.steinbichler.de<http://www.steinbichler.de>



[logo]<http://www.steinbichler.de/>

Steinbichler Optotechnik GmbH
Georg-Wiesböck-Ring 12, 83115 Neubeuern - Germany

CEO: Dr. Marcus Steinbichler
HRB 4836 Traunstein
_____________________________________________________

[Facebook]<http://www.facebook.com/steinbichleroptotechnik>[LinkedIn]<http://www.linkedin.com/company/steinbichler-optotechnik-gmbh>[Google+]<http://plus.google.com/102565731328169451720/posts>[Twitter]<http://twitter.com/steinbichler_>[Xing]<http://www.xing.com/companies/steinbichleroptotechnikgmbh>[YouTube]<http://www.youtube.com/user/steinbichler100>
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to