New submission from Joshua Bleecher Snyder :
When Python is compiled on OS X with llvm, the decimal module behaves
erratically (simple calculations are wrong, most doctests fail). This was
originally reported here:
http://stackoverflow.com/questions/7590137/dividing-decimals-yields-invalid
Joshua Bleecher Snyder added the comment:
>> Possibly related to http://bugs.python.org/issue11149?
> Maybe I missed it in the links you gave, but that is easily
> settled by compiling with and without -fwrapv.
Apologies -- I didn't do enough homework on this one. Yes, I
Joshua Bleecher Snyder added the comment:
This documentation change didn't make it into the docs for translate in the
string module -- see http://docs.python.org/library/string.html. It'd be great
to add it there as well, as I just got bitten by this. :)
--
nosy: