Message5303

Author zyasoft
Recipients leosoto, zyasoft
Date 2009-11-06.15:02:43
SpamBayes Score 7.438494e-14
Marked as misclassified No
Message-id <1257519764.45.0.431350378258.issue1499@psf.upfronthosting.co.za>
In-reply-to
Content
This might break existing code, since floats cannot be directly combined
with Decimals. So for example, I can't do this:

>>> Decimal("0.5") * 0.5
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for *: 'Decimal' and 'float'

Perhaps we can make this a configuration setting in the connection?

Also, this should be applied to other data handlers like Oracle.
History
Date User Action Args
2009-11-06 15:02:44zyasoftsetmessageid: <1257519764.45.0.431350378258.issue1499@psf.upfronthosting.co.za>
2009-11-06 15:02:44zyasoftsetrecipients: + zyasoft, leosoto
2009-11-06 15:02:44zyasoftlinkissue1499 messages
2009-11-06 15:02:43zyasoftcreate