From: Jakob S. <pj...@ip...> - 2001-12-11 14:59:05
|
Hi, why is __findattr__() called twice when using the following java class: import org.python.core.*; import javax.swing.JOptionPane; public class Test extends PyObject { public PyObject __findattr__(String s) { JOptionPane.showMessageDialog(null,s); return null; } } And also, can one prevent the Jython error message if the attribute is not found? Regards, Jakob |