diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-07-08 21:15:36 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-07-08 21:15:36 (GMT) |
commit | 0dd8f7890a3396eaef8c740588c65af9422a65a5 (patch) | |
tree | c74351d4e8024c7f455eb6c202eb1b483353ad3a /Misc/NEWS | |
parent | e42f1bb3548f322bc0fd4a5db4cff26be901a034 (diff) | |
download | cpython-0dd8f7890a3396eaef8c740588c65af9422a65a5.zip cpython-0dd8f7890a3396eaef8c740588c65af9422a65a5.tar.gz cpython-0dd8f7890a3396eaef8c740588c65af9422a65a5.tar.bz2 |
Issue #9136: Profiling Decimal gave 'dictionary changed size during iteration'.
Remove the use of locals() that caused this error.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -470,6 +470,10 @@ C-API Library ------- +- Issue #9136: Fix 'dictionary changed size during iteration' + RuntimeError produced when profiling the decimal module. This was + due to a dangerous iteration over 'locals()' in Context.__init__. + - 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')). |