Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
6f2bb98966853edcf1855b9dd310529d071241a2
/
Lib
/
functools.py
ab7cc759
Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses.
by Yury Selivanov
· 9 years ago
0603d30
Issue #23132: Mitigate regression in speed and clarity in functools.total_ordering.
by Raymond Hettinger
· 10 years ago
4d58897
Issue 22184: Early detection and reporting of missing lru_cache parameters
by Raymond Hettinger
· 10 years ago
7fa767e
Issue #20976: pyflakes: Remove unused imports
by Victor Stinner
· 11 years ago
da5fe4f
inspect.signature: Add support for 'functools.partialmethod' #20223
by Yury Selivanov
· 11 years ago
3daaf5f
Fix functools.partialmethod docs and __all__
by Nick Coghlan
· 11 years ago
f4cb48a
Issue #4331: Added functools.partialmethod
by Nick Coghlan
· 11 years ago
f05d981
Close #10042: functools.total_ordering now handles NotImplemented
by Nick Coghlan
· 11 years ago
24c05bc
Close issue 17482: don't overwrite __wrapped__
by Nick Coghlan
· 11 years ago
cd171c8
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
by Brett Cannon
· 11 years ago
3720c77
Issue #18244: Adopt C3-based linearization in functools.singledispatch for improved ABC support
by Łukasz Langa
· 11 years ago
0a14066
Issue #18200: Update the stdlib (except tests) to use ModuleNotFoundError.
by Brett Cannon
· 11 years ago
6f69251
Add reference implementation for PEP 443
by Łukasz Langa
· 11 years ago
36fe228
merge
by Raymond Hettinger
· 12 years ago
d8d6010
Sync-up with 3.4 to make maintenance easier.
by Raymond Hettinger
· 12 years ago
a28c55a
merge
by Raymond Hettinger
· 12 years ago
f96b2b0
Improve comments and variable names.
by Raymond Hettinger
· 12 years ago
bb5f480
Merge
by Raymond Hettinger
· 12 years ago
352cc8c
Another nit.
by Raymond Hettinger
· 12 years ago
32e2ff5
merge
by Raymond Hettinger
· 12 years ago
f2c17a9
Fix other re-entrancy nits for the lru_cache.
by Raymond Hettinger
· 12 years ago
794568f
Merge
by Raymond Hettinger
· 12 years ago
409f663
Remove dependency on dummy_threading (to solve a bootstrap problem).
by Raymond Hettinger
· 12 years ago
dacb685
Merge
by Raymond Hettinger
· 12 years ago
fd54117
Don't deadlock on a reentrant call.
by Raymond Hettinger
· 12 years ago
832edde
Eliminate unnecessary variable.
by Raymond Hettinger
· 12 years ago
b5b3714
Issue #12428: Add a pure Python implementation of functools.partial().
by Antoine Pitrou
· 12 years ago
0c9050c
Separate key creation logic from the sequence class that memoizes its hash value.
by Raymond Hettinger
· 12 years ago
010ce32
Minor change to default lru size. Set default to a power of two.
by Raymond Hettinger
· 12 years ago
9acbb60
Move make_key() out of the decorator body. Make keys that only need to be hashed once.
by Raymond Hettinger
· 13 years ago
018b4fb
Use a flag to indicate when the circular queue is fully populated and stable.
by Raymond Hettinger
· 13 years ago
34d94a2
Handle a possible race condition
by Raymond Hettinger
· 13 years ago
b6b98c0
Track the cache size directly.
by Raymond Hettinger
· 13 years ago
9f0ab9f
Factor out shared variables.
by Raymond Hettinger
· 13 years ago
678e7f3
Flatten the lru cache keyword args tuple for better memory utilization.
by Raymond Hettinger
· 13 years ago
c689785
Fix-up a comment
by Raymond Hettinger
· 13 years ago
7f7a5a7
Fix-up comments and add a sentinel variable for clarity.
by Raymond Hettinger
· 13 years ago
41eb79a
No need to create and destroy links when updating a fixed-sized circular queue.
by Raymond Hettinger
· 13 years ago
1ff50df
Minor cleanup: add whitespace, add comments, bring function attribute updates together.
by Raymond Hettinger
· 13 years ago
7dabfed
Fix whitespace
by Raymond Hettinger
· 13 years ago
7e0c581
Low overhead path for maxsize==0
by Raymond Hettinger
· 13 years ago
bc8e81d
Section-off the source for better readability.
by Raymond Hettinger
· 13 years ago
dce583e
Minor beautification.
by Raymond Hettinger
· 13 years ago
4f5139b
Root variable is not changed.
by Raymond Hettinger
· 13 years ago
202d1ad
Fix whitespace
by Raymond Hettinger
· 13 years ago
d37fb55
Unique sentinel value for cache.get()
by Raymond Hettinger
· 13 years ago
6e8c817
Refactor calculation of the cache key. Minor code cleanups.
by Raymond Hettinger
· 13 years ago
29a837d
merge heads
by Benjamin Peterson
· 13 years ago
954cf57
clear the root with the cache
by Benjamin Peterson
· 13 years ago
d656958
Minor code cleanup.
by Raymond Hettinger
· 13 years ago
57b2959
Eliminate duplicate link lookup. Minor cleanup.
by Raymond Hettinger
· 13 years ago
ec0e910
Improve the memory utilization (and speed) of functools.lru_cache().
by Raymond Hettinger
· 13 years ago
ff7f64c
Issue #13544: Add __qualname__ to functools.WRAPPER_ASSIGNMENTS.
by Meador Inge
· 13 years ago
cd9fdfd
Issue 13227: Option to make the lru_cache() type specific (suggested by Andrew Koenig).
by Raymond Hettinger
· 13 years ago
d8886fc
Merge
by Raymond Hettinger
· 13 years ago
4b779b3
Issue 13177: Make tracebacks more readable by avoiding chained exceptions in the lru_cache.
by Raymond Hettinger
· 13 years ago
8cd2e5f
Sync-up minor code edits with the default branch.
by Raymond Hettinger
· 14 years ago
e7a2430
Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
by Raymond Hettinger
· 14 years ago
003be52
Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
by Raymond Hettinger
· 14 years ago
7ab9e22
Issue #11707: Fast C version of functools.cmp_to_key()
by Raymond Hettinger
· 14 years ago
0a4edd5
Issue #11628: cmp_to_key should use __slots__.
by Raymond Hettinger
· 14 years ago
a0d1d96
Issue #11628: cmp_to_key should use __slots__.
by Raymond Hettinger
· 14 years ago
7e4c168
Minor optimization -- factor a constant expression out of the inner-loop.
by Raymond Hettinger
· 14 years ago
524359f
Add comment.
by Raymond Hettinger
· 14 years ago
23f9fc3
Issue #10042: Fixed the total_ordering decorator to handle cross-type
by Raymond Hettinger
· 14 years ago
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
· 15 years ago
c50846a
Forward port total_ordering() and cmp_to_key().
by Raymond Hettinger
· 15 years ago
89f507f
Four months of trunk changes (including a few releases...)
by Thomas Wouters
· 18 years ago
Next »