Mercurial > cpython-lru_cache-weakref
annotate Misc/python-wing4.wpr @ 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 | 8526763a03eb |
| children |
| rev | line source |
|---|---|
|
65256
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
1 #!wing |
|
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
2 #!version=4.0 |
|
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
3 ################################################################## |
|
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
4 # Wing IDE project file # |
|
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
5 ################################################################## |
|
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
6 [project attributes] |
|
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
7 proj.directory-list = [{'dirloc': loc('..'), |
|
68568
8526763a03eb
Wing project file update for mercurial
Michael Foord <michael@python.org>
parents:
67037
diff
changeset
|
8 'excludes': [u'.hg', |
|
8526763a03eb
Wing project file update for mercurial
Michael Foord <michael@python.org>
parents:
67037
diff
changeset
|
9 u'Lib/unittest/__pycache__', |
|
8526763a03eb
Wing project file update for mercurial
Michael Foord <michael@python.org>
parents:
67037
diff
changeset
|
10 u'Lib/unittest/test/__pycache__', |
|
67037
4e22202e62f8
Issue 10611. Issue 9857. Improve the way exception handling, including test skipping, is done inside TestCase.run
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
66280
diff
changeset
|
11 u'Lib/__pycache__', |
|
68568
8526763a03eb
Wing project file update for mercurial
Michael Foord <michael@python.org>
parents:
67037
diff
changeset
|
12 u'build', |
|
8526763a03eb
Wing project file update for mercurial
Michael Foord <michael@python.org>
parents:
67037
diff
changeset
|
13 u'Doc/build'], |
|
65256
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
14 'filter': '*', |
|
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
15 'include_hidden': False, |
|
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
16 'recursive': True, |
|
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
17 'watch_for_changes': True}] |
|
fa9057007755
Adding Wing IDE version 4 project file
Michael Foord <fuzzyman@voidspace.org.uk>
parents:
diff
changeset
|
18 proj.file-type = 'shared' |
