Message9152
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 |
|
Date |
User |
Action |
Args |
2014-10-14 22:06:58 | jeff.allen | set | messageid: <1413324418.43.0.83238690648.issue2090@psf.upfronthosting.co.za> |
2014-10-14 22:06:58 | jeff.allen | set | recipients:
+ jeff.allen, zyasoft, rjolly |
2014-10-14 22:06:58 | jeff.allen | link | issue2090 messages |
2014-10-14 22:06:58 | jeff.allen | create | |
|