IEEE decimalIf you want IEEE 754/854 decimal behaviour, what you want to use is the decimal module:
>>> import decimal
The above typed in the python interpreter will provide all the help you need. The examples are a little verbose, however.
If you want to be shorthand, you can copy/paste the following at the top of your program:
from decimal import setcontext,ExtendedContext, Decimal as ieee
Then whenever you want to use ieee behaviour use ieee(value):
Python does it right
It is good that it has to be explicitly stated that you want this. A division by zero should raise an exception when dealing with financial data[*]. I would recommend numpy if dealing with scientific data.
* Unless you are calculating my bonus...