I'm thinking this might be a bug, where IronPython is getting confused by the generic and non-generic versions of the class. Can you open an issue on https://github.com/IronLanguages/main/issues?
- Jeff On Fri, Sep 25, 2015 at 7:08 AM, Pilger Jan <j.pil...@steinbichler.de> wrote: > 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 > > web: > > www.steinbichler.de > > > > [image: logo] <http://www.steinbichler.de/> > > Steinbichler Optotechnik GmbH > Georg-Wiesböck-Ring 12, 83115 Neubeuern - Germany > > CEO: Dr. Marcus Steinbichler > HRB 4836 Traunstein > _____________________________________________________ > > [image: Facebook] <http://www.facebook.com/steinbichleroptotechnik>[image: > LinkedIn] > <http://www.linkedin.com/company/steinbichler-optotechnik-gmbh>[image: > Google+] <http://plus.google.com/102565731328169451720/posts>[image: > Twitter] <http://twitter.com/steinbichler_>[image: Xing] > <http://www.xing.com/companies/steinbichleroptotechnikgmbh>[image: > YouTube] <http://www.youtube.com/user/steinbichler100> > > _______________________________________________ > Ironpython-users mailing list > Ironpython-users@python.org > https://mail.python.org/mailman/listinfo/ironpython-users > >
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users