mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fix a performance issue in Decimal.pow. Thanks Stefan Krah for finding this.
This commit is contained in:
parent
f48ea7c2a9
commit
a123631a5c
3 changed files with 25 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue