From: Peter B. <bri...@ma...> - 2001-08-09 06:01:42
|
Hello Robert, Thanks for your quick reply! You're right, --all does solve the problem I mentioned. I'm not totally happy with this solution, though, because I believe that the code I posted should work without the compiler classes and that the insistence on the presence of ProxyMaker is a bug (feature?) of jython. In particular, when compiled with --all, the resulting jar file can't be used for applets under netscape or mozilla because of security issues. Thanks again, Peter > I've got another problem with some code that works fine when interpreted > with jython but breaks down when compiled with jythonc. > > I've narrowed the problem down to the following situation. We need two > modules, say init.py and main.py. > > ---------------------------------------------------------------------- > init.py: > > import java > > cl=java.lang.Object > > ---------------------------------------------------------------------- > main.py > > import init > > class eggs(init.cl): > pass > > print eggs() > > ---------------------------------------------------------------------- > > The idea is to derive a class from another class that's determined in > a different module. [...] > |