summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-07-08 21:15:36 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-07-08 21:15:36 (GMT)
commit0dd8f7890a3396eaef8c740588c65af9422a65a5 (patch)
treec74351d4e8024c7f455eb6c202eb1b483353ad3a /Misc/NEWS
parente42f1bb3548f322bc0fd4a5db4cff26be901a034 (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 369eaff..d1edda2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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')).