Message12191

Author jeff.allen
Recipients jeff.allen, mohamad.mahajna
Date 2018-12-02.08:24:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543739076.97.0.788709270274.issue2717@psf.upfronthosting.co.za>
In-reply-to
Content
The figure supplied as the number of arguments in that message from Python (not just Jython) can be off by one from what you'd expect, because of the treatment of 'self'.

I assume your "def start_trex (self, ..." is within a class definition and objectTrex is an instance of that class in Java. At a first look, what you've done appears right. I (or someone else) would have to step through the call to see what actually happens during the argument processing, in a toy version of the problem. Could you provide a bit more context, or an equivalent demonstration of the problem in isolation?

Also, what version of Jython are you on?
History
Date User Action Args
2018-12-02 08:24:36jeff.allensetmessageid: <1543739076.97.0.788709270274.issue2717@psf.upfronthosting.co.za>
2018-12-02 08:24:36jeff.allensetrecipients: + jeff.allen, mohamad.mahajna
2018-12-02 08:24:36jeff.allenlinkissue2717 messages
2018-12-02 08:24:35jeff.allencreate