Issue630150
Created on 2002-10-28.22:36:35 by ype, last changed 2002-10-29.14:15:45 by bckfnn.
msg2270 (view) |
Author: Ype (ype) |
Date: 2002-10-28.22:36:35 |
|
Bug 608628.
Added __long__() method to PyJavaInstance.java,
leaves anything but java.math.BigInteger to super.
|
msg2271 (view) |
Author: Ype (ype) |
Date: 2002-10-28.22:42:31 |
|
Logged In: YES
user_id=125722
""" Test for bug [608628] long(java.math.BigInteger) does not
work. """
# local name bugtests/test381.py
ns = '10000000000'
import java
ns2 = str(long(java.math.BigInteger(ns)))
assert ns == ns2, ns2
|
msg2272 (view) |
Author: Finn Bock (bckfnn) |
Date: 2002-10-29.14:15:45 |
|
Logged In: YES
user_id=4201
Patch rejected. If we only need to support builtin long(),
there is no need to add a typecheck in the PyJavaClass code.
It can instead be handled by the normal java method argument
resolution in __builtin__.java.
The testcode is added as test373.
|
|
Date |
User |
Action |
Args |
2002-10-28 22:36:35 | ype | create | |
|