mxcl/homebrew — pull request #10487 by claymation (2012-02-26 04:01:04+00:00)
Title: Python requires -fwrapv for Decimal division

According to:

http://stackoverflow.com/questions/7590137/dividing-decimals-yields-invalid-results-in-python-2-5-to-2-7

the Python interpreter must be built with -fwrapv for proper Decimal division.

To test:

python -c "from decimal import Decimal; print Decimal(4) / Decimal(2)"

If built with -fwrapv, this yields 2.