From: wchang <re...@bu...> - 2013-06-28 15:33:59
|
New submission from wchang: 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 ---------- components: Core messages: 8053 nosy: wchang severity: normal status: open title: type() to create anonymous class not working when inheriting java classes/interfaces type: behaviour versions: Jython 2.7 _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue2064> _______________________________________ |