summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2010-11-30 06:19:46 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2010-11-30 06:19:46 (GMT)
commit234515afe594e5f9ca1b3f460735c68b04c031e2 (patch)
tree30efe3349cc7414e4f0f6d45f50a984558caea19 /Doc/whatsnew
parentff27ee0b400030419cfd3c9966f275bfbcb569f8 (diff)
downloadcpython-234515afe594e5f9ca1b3f460735c68b04c031e2.zip
cpython-234515afe594e5f9ca1b3f460735c68b04c031e2.tar.gz
cpython-234515afe594e5f9ca1b3f460735c68b04c031e2.tar.bz2
Issue 10586: change the new functools.lru_cache implementation to expose the maximum and current cache sizes through the public statistics API. This API is now a single function that returns a named tuple.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.2.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 1edbf50..91ab849 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -332,6 +332,8 @@ New, Improved, and Deprecated Modules
c.execute('SELECT phonenumber FROM phonelist WHERE name=?', (name,))
return c.fetchone()[0]
+ XXX: update for Issue 10586 changes to cache statistics API
+
To help with choosing an effective cache size, the wrapped function is
instrumented with two attributes *cache_hits* and *cache_misses*: