From: <bc...@wo...> - 2000-12-03 12:40:14
|
Hi, In the Demo/javaclasses/readme.txt it says that jythonc creates a shallow frozen java class where the actual python module is still loaded and used: 2. run "jythonc -package pygraph Graph.py" in this directory This should produce the Java class pygraph.Graph. Because this is only a shallow freeze of the code in Graph.py, you can modify the actual Python code (and any libraries it depends on) without needed to perform the freeze process again. You will need to repeat this freeze process any time you add new methods to the Graph class that override Java methods in its superclass. That isn't the case at the moment. If we want to re-enable this feature, it add an interesting situation to the discussion of whether "Graph" is a module or a java class. (The example conveniently uses a package to make the java class and module different). regards, finn |