Message5263

Author bupjae
Recipients bupjae
Date 2009-10-25.05:03:00
SpamBayes Score 9.1289043e-10
Marked as misclassified No
Message-id <1256446981.76.0.678018040633.issue1494@psf.upfronthosting.co.za>
In-reply-to
Content
C:\Program Files\Java\jdk1.6.0_16\bin>jrunscript -cp c:\jython2.5.1
\jython.jar -l jython
python> a=10L
python> print a-1
script error: TypeError: unsupported operand type(s) for -
: 'java.math.BigInteger' and 'int' in <STDIN> at line number 1
python>

Python 'long' type is converted to java 'java.math.BigInteger' type 
unintentionally under JSR 223.

This doesn't happen when I don't use JSR 223.
History
Date User Action Args
2009-10-25 05:03:02bupjaesetrecipients: + bupjae
2009-10-25 05:03:01bupjaesetmessageid: <1256446981.76.0.678018040633.issue1494@psf.upfronthosting.co.za>
2009-10-25 05:03:01bupjaelinkissue1494 messages
2009-10-25 05:03:01bupjaecreate