Fix a performance issue in Decimal.pow. Thanks Stefan Krah for finding this.

This commit is contained in:
Mark Dickinson 2010-07-08 19:03:34 +00:00
parent f48ea7c2a9
commit a123631a5c
3 changed files with 25 additions and 6 deletions

View file

@ -470,6 +470,10 @@ C-API
Library
-------
- Fix extreme speed issue in Decimal.pow when the base is an exact
power of 10 and the exponent is tiny (for example,
Decimal(10) ** Decimal('1e-999999999')).
- Issue #9186: Fix math.log1p(-1.0) to raise ValueError, not OverflowError.
- Issue #9130: Fix validation of relative imports in parser module.