Message6025

Author zyasoft
Recipients WA, zyasoft
Date 2010-08-31.05:57:41
SpamBayes Score 4.830329e-09
Marked as misclassified No
Message-id <1283234263.06.0.28820348662.issue1540@psf.upfronthosting.co.za>
In-reply-to
Content
The workaround is to use super__PROTECTED_METHOD. This is an old form in Jython, that predates the use of the super function in Python 2.2.

Of course it's reasonable that super should simply work, or the alternative, to specify the super type directly, without super(), that is

JPanel.paintComponent(self, g)

But they don't, yet. This looks like a gap that opened when we implemented new-style classes in Jython, and made Java types new-style as well.

Presumably we need to look at modifying the code in or around org.python.core.PyReflectedFunction.
History
Date User Action Args
2010-08-31 05:57:43zyasoftsetmessageid: <1283234263.06.0.28820348662.issue1540@psf.upfronthosting.co.za>
2010-08-31 05:57:43zyasoftsetrecipients: + zyasoft, WA
2010-08-31 05:57:42zyasoftlinkissue1540 messages
2010-08-31 05:57:41zyasoftcreate