Message5796
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). |
|
Date |
User |
Action |
Args |
2010-06-03 14:21:15 | tomw2 | set | messageid: <1275574875.29.0.785820152426.issue1605@psf.upfronthosting.co.za> |
2010-06-03 14:21:15 | tomw2 | set | recipients:
+ tomw2, pjenvey, babelmania |
2010-06-03 14:21:15 | tomw2 | link | issue1605 messages |
2010-06-03 14:21:14 | tomw2 | create | |
|