|
From: Neal N. <ne...@me...> - 2001-06-01 13:25:19
|
Hello! I have created a program PyChecker to perform Python source code checking. (http://pychecker.sourceforge.net). PyChecker is implemented in C Python and does some "tricky" things. It doesn't currently work in Jython due to the module dis (disassemble code) not being available in Jython. Is there any fundamental problem with getting PyChecker to work under Jython? Here's a high-level overview of what PyChecker does: imp.find_module() imp.load_module() for each object in dir(module): # object can be a class, function, imported module, etc. for each instruction in disassembled byte code: # handle each instruction appropriately This hides a lot of details, but I do lots of things like getting the code objects from the classes, methods, and functions, look at the arguments in functions, etc. Is it possible to make work in Jython? Easy? Thanks for any guidance, Neal |