Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
97b886dc8c786451465184ac87896075cfdb85bd
/
Lib
/
functools.py
c79fb0e
Issue 10593: Adopt Nick's suggestion for an lru_cache with maxsize=None.
by Raymond Hettinger
· 14 years ago
00f2f97
Doc and docstring nits.
by Raymond Hettinger
· 14 years ago
7496b41
Add example, tighten text, and minor clean-ups.
by Raymond Hettinger
· 14 years ago
5e20bab
Neaten-up a bit.
by Raymond Hettinger
· 14 years ago
234515a
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.
by Nick Coghlan
· 14 years ago
5fa40c0
Clean-up docstring, comments, and whitespace.
by Raymond Hettinger
· 14 years ago
3255c63
Improve comment
by Raymond Hettinger
· 14 years ago
1006bd4
Future proof total_ordering against changes in methods defined on object.
by Raymond Hettinger
· 14 years ago
bd88802
Revert r84700 which had an unfortunate performance cost.
by Raymond Hettinger
· 14 years ago
22b46e0
Separate positional arguments from localized globals.
by Raymond Hettinger
· 14 years ago
1017ae5
add reduce and partial to __all__
by Benjamin Peterson
· 14 years ago
f45abc9
Add method to OrderedDict for repositioning keys to the ends.
by Raymond Hettinger
· 14 years ago
4c7c9af
Clean-up functools.total_ordering().
by Raymond Hettinger
· 14 years ago
02566ec
Adopt more descriptive attribute names as suggested on python-dev.
by Raymond Hettinger
· 14 years ago
af1e140
Readability nit.
by Raymond Hettinger
· 14 years ago
7babc1b
Better method name. Tighten inner-loop with bound methods.
by Raymond Hettinger
· 14 years ago
38d17e3
Speed-up cache updates
by Raymond Hettinger
· 14 years ago
16925e8
remove parens
by Benjamin Peterson
· 14 years ago
9c2930e
run total_ordering() tests, and fix the function (default comparisons shouldn't be considered)
by Benjamin Peterson
· 14 years ago
9887683
Document and test the resolution of issue 3445 (tolerate missing attributes in functools.update_wrapper, previously implemented as a side effect of the __annotations__ copying patch) and implement issue 9567 (add a __wrapped__ attribute when using update_wrapper)
by Nick Coghlan
· 14 years ago
0b5669c
Fix __all__.
by Raymond Hettinger
· 14 years ago
bc653d1
Remove unused imports
by Raymond Hettinger
· 14 years ago
f309828
Remove the lfu_cache. Add more tests.
by Raymond Hettinger
· 14 years ago
0f56e90
Support cache sizes.
by Raymond Hettinger
· 14 years ago
5202fad
Localize one more builtin lookup.
by Raymond Hettinger
· 14 years ago
cbe8813
Add locks to make the caches well behaved in multi-threaded code.
by Raymond Hettinger
· 14 years ago
1f594ad
use same quoting as the rest of the file
by Benjamin Peterson
· 14 years ago
560f764
Issue #8814: function annotations (the `__annotations__` attribute)
by Antoine Pitrou
· 14 years ago
2e7346a
Re-commit r83327 now that the release is done.
by Georg Brandl
· 14 years ago
014e0ca
Revert r83327. This will have to wait until after the alpha1 release.
by Georg Brandl
· 14 years ago
9e46ef8
Add functools.lfu_cache() and functools.lru_cache().
by Raymond Hettinger
· 14 years ago
e5a2673
Merged revisions 80068 via svnmerge from
by Georg Brandl
· 14 years ago
56de7e2
Issue 8361: Remove assert from functools.total_ordering
by Raymond Hettinger
· 14 years ago
c50846a
Forward port total_ordering() and cmp_to_key().
by Raymond Hettinger
· 14 years ago
89f507f
Four months of trunk changes (including a few releases...)
by Thomas Wouters
· 18 years ago
0919a1a
Part of SF patch #1513870 (the still relevant part) -- add reduce() to
by Guido van Rossum
· 18 years ago
73e5a5b
Merge the rest of the trunk.
by Thomas Wouters
· 18 years ago
4d70c3d
Partially merge trunk into p3yk. The removal of Mac/Tools is confusing svn
by Thomas Wouters
· 18 years ago