Message9152

Author jeff.allen
Recipients jeff.allen, rjolly, zyasoft
Date 2014-10-14.22:06:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413324418.43.0.83238690648.issue2090@psf.upfronthosting.co.za>
In-reply-to
Content
We now have, using Raphael's patch and an embedded JSR-233 script engine:
TEST >>> from java.math import BigInteger
TEST >>> a = BigInteger('10')
TEST >>> type(a)
class org.python.core.PyLong
TEST >>> a > 100
false
TEST >>> a > 1
true

This is a test program very close to that offered in http://permalink.gmane.org/gmane.comp.lang.jython.user/10467. The console interpreter does not behave consistently with this, so there's something to resolve, perhaps under #2216.

I was unable to pull the change request into my repository, but there's not much code, so I pasted it. Now at:
https://hg.python.org/jython/rev/4ed64dc6c895
History
Date User Action Args
2014-10-14 22:06:58jeff.allensetmessageid: <1413324418.43.0.83238690648.issue2090@psf.upfronthosting.co.za>
2014-10-14 22:06:58jeff.allensetrecipients: + jeff.allen, zyasoft, rjolly
2014-10-14 22:06:58jeff.allenlinkissue2090 messages
2014-10-14 22:06:58jeff.allencreate