Message10174
I'll just inject that #2216 and #2090 are relevant here. We decided to convert BigInteger to long in response to those, and in particular the user surprise about expressions that mix Python numeric types with BigInteger. (I think there is still a problem with JSR-223, but that may be a different issue.)
I can see the OP's point. It is at least as surprising that BigInteger.valueOf(1).abs() should not evaluate as it was that BigInteger('10') would not compare correctly with an int.
Maybe the issue is with when we do the coercion, not whether? |
|
Date |
User |
Action |
Args |
2015-08-07 21:48:41 | jeff.allen | set | messageid: <1438984121.38.0.516206121805.issue2382@psf.upfronthosting.co.za> |
2015-08-07 21:48:41 | jeff.allen | set | recipients:
+ jeff.allen, zyasoft, alex.gronholm, kaneg |
2015-08-07 21:48:41 | jeff.allen | link | issue2382 messages |
2015-08-07 21:48:40 | jeff.allen | create | |
|