diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2010-11-30 06:19:46 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2010-11-30 06:19:46 (GMT) |
commit | 234515afe594e5f9ca1b3f460735c68b04c031e2 (patch) | |
tree | 30efe3349cc7414e4f0f6d45f50a984558caea19 /Misc | |
parent | ff27ee0b400030419cfd3c9966f275bfbcb569f8 (diff) | |
download | cpython-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 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -43,6 +43,9 @@ Core and Builtins Library ------- +- Issue #10586: The statistics API for the new functools.lru_cache has + been changed to a single cache_info() method returning a named tuple. + - Issue #10323: itertools.islice() now consumes the minimum number of inputs before stopping. Formerly, the final state of the underlying iterator was undefined. |