I'm sorry, I posted information based on an incorrect
experiment. I hadn't saved the edits in my Java file.
It does not work even when you do not extend PyObject.
From: Samuele Pedroni [mailto:pedronis@...]
Sent: Tuesday, January 13, 2004 1:12 PM
To: Jeff Emanuel; 'Nicola de Candussio'
Subject: RE: [Jython-users] Emulating Jython object attribute access
with a Java class
At 10:20 13.01.2004 -0600, Jeff Emanuel wrote:
>If you change your Java class not to extend PyObject,
>then your examples work.
well in that case you get a mixin implementing __setattr__,
but I don't see why it should work.