Message5796

Author tomw2
Recipients babelmania, pjenvey, tomw2
Date 2010-06-03.14:21:14
SpamBayes Score 0.028258678
Marked as misclassified No
Message-id <1275574875.29.0.785820152426.issue1605@psf.upfronthosting.co.za>
In-reply-to
Content
I hope this is related to the problem I posted in April on the email list.  In summary:  We have a Java class with two instance methods that have one argument:

method (double x)
method (Foo a)

Class Foo is also a Java class and has a method:
double  __float__()  {....}

The problem is that when I do this in Jython:

 a = Foo(10)
 b = Bar()
 b.method(a)

Jython seems to fetch the __float()__ value from Foo and then uses the
"method(double x)" signature.  In my mind, it should use the
"method(Foo val)" signature and pass in the instance of Foo.  In the
actual case, this is what we need to happen (and what 2.1 did).
History
Date User Action Args
2010-06-03 14:21:15tomw2setmessageid: <1275574875.29.0.785820152426.issue1605@psf.upfronthosting.co.za>
2010-06-03 14:21:15tomw2setrecipients: + tomw2, pjenvey, babelmania
2010-06-03 14:21:15tomw2linkissue1605 messages
2010-06-03 14:21:14tomw2create