[New-bugs-announce] [issue13061] Decimal module yields incorrect results when Python compiled with llvm

Joshua Bleecher Snyder report at bugs.python.org
Thu Sep 29 19:27:44 CEST 2011


New submission from Joshua Bleecher Snyder <josharian at gmail.com>:

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-results-in-python-2-5-to-2-7

and the compiler dependency was tracked down here:

https://trac.macports.org/ticket/31444

Although it looks like MacPorts is going to force use of gcc, it'd still be better for Python to behave correctly when compiled with llvm.

Possibly related to http://bugs.python.org/issue11149?

----------
assignee: ronaldoussoren
components: Build, Installation, Library (Lib), Macintosh
messages: 144604
nosy: josharian, ronaldoussoren
priority: normal
severity: normal
status: open
title: Decimal module yields incorrect results when Python compiled with llvm
type: behavior
versions: 3rd party, Python 2.6, Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13061>
_______________________________________


More information about the New-bugs-announce mailing list