Message6497

Author doublep
Recipients doublep
Date 2011-04-18.14:01:51
SpamBayes Score 2.54934e-08
Marked as misclassified No
Message-id <1303135312.18.0.94653898581.issue1734@psf.upfronthosting.co.za>
In-reply-to
Content
Trivial to reproduce:

>>> from java.math import BigDecimal
>>> BigDecimal ('1.00') - BigDecimal ('0.50')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for -: 'java.math.BigDecimal' and 'java.math.BigDecimal'

At the very least Jython should allow arithmetics of a java.math type with itself.  Ideally it should smoothly handle cross-type arithmetics as well.
History
Date User Action Args
2011-04-18 14:01:52doublepsetrecipients: + doublep
2011-04-18 14:01:52doublepsetmessageid: <1303135312.18.0.94653898581.issue1734@psf.upfronthosting.co.za>
2011-04-18 14:01:52doubleplinkissue1734 messages
2011-04-18 14:01:51doublepcreate