Unsupported operator for Decimal: + (or -)

Todd O'Bryan toddobryan at gmail.com
Tue Nov 27 12:45:22 EST 2007


This seems to have come up earlier...

http://mail.python.org/pipermail/python-list/2007-July/451187.html

but no resolution.

We're seeing the same thing. We're using Django's DecimalField type
and when we try to add or subtract values--which should be
decimal.Decimal objects--we occasionally get an error about the
operator not being supported. It doesn't always happen and we can't
seem to reproduce it when we try to.

Has anybody else seen this or is it just the original poster and me?

Todd



More information about the Python-list mailing list