Handle Python 2.6's Decimal('inf') > 1.0 == False nonsense.
Merge branch '2_9'