A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2010-September/103471.html below:

[Python-Dev] new LRU cache API in Py3.2

[Python-Dev] new LRU cache API in Py3.2 [Python-Dev] new LRU cache API in Py3.2Raymond Hettinger raymond.hettinger at gmail.com
Sat Sep 4 23:11:26 CEST 2010
On Sep 4, 2010, at 3:15 AM, Georg Brandl wrote:

> Am 04.09.2010 12:06, schrieb Antoine Pitrou:
>> On Sat, 04 Sep 2010 11:42:08 +0200
>> Éric Araujo <merwok at netwok.org> wrote:
>>>> 
>>>> It's just a little more overhead, but I think it reads quite a bit better.
>>> 
>>> Or we could use pseudo-namespacing: get_phone_number.cache_hits,
>>> get_phone_number.clear_cache()
>> 
>> It looks better indeed.
> 
> +1.

Those seem like reasonable names.


Raymond
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4