Message10174

Author jeff.allen
Recipients alex.gronholm, jeff.allen, kaneg, zyasoft
Date 2015-08-07.21:48:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438984121.38.0.516206121805.issue2382@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2015-08-07 21:48:41jeff.allensetmessageid: <1438984121.38.0.516206121805.issue2382@psf.upfronthosting.co.za>
2015-08-07 21:48:41jeff.allensetrecipients: + jeff.allen, zyasoft, alex.gronholm, kaneg
2015-08-07 21:48:41jeff.allenlinkissue2382 messages
2015-08-07 21:48:40jeff.allencreate