Message8053

Author wchang
Recipients wchang
Date 2013-06-28.15:33:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372433628.93.0.263251734077.issue2064@psf.upfronthosting.co.za>
In-reply-to
Content
I'm using type to create an anonymous class using type() on jython 2.7

e.g.

>>> c = type("test_c1",(java.io.File,),{})
>>> isinstance(c,java.io.File)
False
>>> d=type("test_i1",(java.io.FilenameFilter,),{})
>>> isinstance(d,java.io.FilenameFilter)
False
History
Date User Action Args
2013-06-28 15:33:49wchangsetrecipients: + wchang
2013-06-28 15:33:48wchangsetmessageid: <1372433628.93.0.263251734077.issue2064@psf.upfronthosting.co.za>
2013-06-28 15:33:48wchanglinkissue2064 messages
2013-06-28 15:33:48wchangcreate