Mercurial > cpython-lru_cache-weakref
annotate Lib/test/data/README @ 87690:66c1c9f32567 default tip
Add use_weakref option to functools.lru_cache
The use_weakref option makes lru_cache create weak references to the function
arguments when creating the cache key, which prevents them from staying in the
memory forever even after all other references to them are gone.
This is a proof of concept for http://bugs.python.org/issue19859
| author | Radomir Dopieralski <devel@sheep.art.pl> |
|---|---|
| date | Tue, 03 Dec 2013 16:02:48 +0100 |
| parents | 95301c58c5d2 |
| children |
| rev | line source |
|---|---|
|
63445
9f2fbee420da
Merged revisions 83352,83356-83358,83362,83366,83368-83369 via svnmerge from
Georg Brandl <georg@python.org>
parents:
diff
changeset
|
1 This empty directory serves as destination for temporary files |
|
71218
95301c58c5d2
Issue #12497: Install test/data to prevent failures of the various codecmaps
Ned Deily <nad@acm.org>
parents:
63445
diff
changeset
|
2 created by some tests, in particular, the test_codecmaps_* tests. |
