Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
7a177c08ab8981645828d3b4d9083cdd9018d197
/
Lib
/
functools.py
142566c
[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)
by Serhiy Storchaka
· 5 years ago
2085bd0
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
by Serhiy Storchaka
· 5 years ago
b821868
bpo-36772 Allow lru_cache to be used as decorator without making a function call (GH-13048)
by Raymond Hettinger
· 5 years ago
d673810
bpo-35252: Remove FIXME from test_functools (GH-10551)
by Lysandros Nikolaou
· 5 years ago
d53cf99
bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)
by Serhiy Storchaka
· 5 years ago
42a139e
bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)
by Serhiy Storchaka
· 6 years ago
da08470
bpo-36431: Use PEP 448 dict unpacking for merging two dicts. (GH-12553)
by Serhiy Storchaka
· 6 years ago
ffdf1c3
Consistently move the misses update to just before the user function call (GH-11715)
by Raymond Hettinger
· 6 years ago
d8080c0
bpo-35780: Fix errors in lru_cache() C code (GH-11623)
by Raymond Hettinger
· 6 years ago
7cd2543
bpo-34890: Make iscoroutinefunction, isgeneratorfunction and isasyncgenfunction work with functools.partial (GH-9903)
by Pablo Galindo
· 6 years ago
e25d5fc
bpo-32321: Add pure Python fallback for functools.reduce (GH-8548)
by madman-bob
· 6 years ago
d658dea
bpo-21145: Add cached_property decorator in functools (#6982)
by Carl Meyer
· 6 years ago
445f1b3
bpo-33967: Fix singledispatch raised IndexError when no args (GH-8184)
by Dong-hee Na
· 6 years ago
c651275
bpo-32380: Create functools.singledispatchmethod (#6306)
by Ethan Smith
· 6 years ago
e569753
bpo-32227: functools.singledispatch supports registering via type annotations (#4733)
by Łukasz Langa
· 7 years ago
9811e80
bpo-31581: Reduce the number of imports for functools (GH-3757)
by INADA Naoki
· 7 years ago
a6a4dc8
bpo-31370: Remove support for threads-less builds (#3385)
by Antoine Pitrou
· 7 years ago
15ce0be
Conceptually, roots is a set. Also searching it as a set is a tiny bit faster (#3338)
by Raymond Hettinger
· 7 years ago
5503709
Add comment to explain the implications of not sorting keywords (#3331)
by Raymond Hettinger
· 7 years ago
ac7c5ac
merge
by Raymond Hettinger
· 8 years ago
4ee3914
Issue #29203: functools.lru_cache() now respects PEP 468
by Raymond Hettinger
· 8 years ago
b2d4b3d
Issue #28991: Address comment that the __len__ call looked unattractive
by Raymond Hettinger
· 8 years ago
c28dbd0
merge
by Raymond Hettinger
· 8 years ago
af56e0e
Issue #28991: Fix obscure reentrancy bug in functools.lru_cache().
by Raymond Hettinger
· 8 years ago
457fc9a
Issue #27137: align Python & C implementations of functools.partial
by Nick Coghlan
· 8 years ago
ce2295d
Removed redundant call of update_wrapper().
by Serhiy Storchaka
· 9 years ago
77a8cd6
Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses.
by Yury Selivanov
· 9 years ago
46c5611
Backed out changeset: b0a0b9b59012
by Serhiy Storchaka
· 9 years ago
8252cc9
Backed out changeset 57776eee74f2
by Larry Hastings
· 9 years ago
1c858c3
Issue #14373: Added C implementation of functools.lru_cache(). Based on
by Serhiy Storchaka
· 9 years ago
ba9ac5b
Issue #16261: Converted some bare except statements to except statements
by Serhiy Storchaka
· 9 years ago
ffcd849
Reduce the overhead in functools.total_ordering by localizing NotImplemented.
by Raymond Hettinger
· 9 years ago
e49af34
Issue #7830: Flatten nested functools.partial.
by Alexander Belopolsky
· 10 years ago
08448a1
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
by Serhiy Storchaka
· 10 years ago
1a8ada8
No need to rebuild a constant dictionary on every call. Move convert mapping to module level.
by Raymond Hettinger
· 10 years ago
e5db863
Minor speed-up. Use local variable instead of a global lookup.
by Raymond Hettinger
· 10 years ago
57a3786
merge
by Raymond Hettinger
· 10 years ago
0603d30
Issue #23132: Mitigate regression in speed and clarity in functools.total_ordering.
by Raymond Hettinger
· 10 years ago
697a526
Issue #23132: Improve performance and introspection support of comparison
by Serhiy Storchaka
· 10 years ago
92c7b90
merge
by Raymond Hettinger
· 10 years ago
4d58897
Issue 22184: Early detection and reporting of missing lru_cache parameters
by Raymond Hettinger
· 10 years ago
521e586
Issue #22032: __qualname__ instead of __name__ is now always used to format
by Serhiy Storchaka
· 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
· 12 years ago
018b4fb
Use a flag to indicate when the circular queue is fully populated and stable.
by Raymond Hettinger
· 12 years ago
34d94a2
Handle a possible race condition
by Raymond Hettinger
· 12 years ago
b6b98c0
Track the cache size directly.
by Raymond Hettinger
· 12 years ago
9f0ab9f
Factor out shared variables.
by Raymond Hettinger
· 12 years ago
678e7f3
Flatten the lru cache keyword args tuple for better memory utilization.
by Raymond Hettinger
· 12 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
· 13 years ago
e7a2430
Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
by Raymond Hettinger
· 13 years ago
003be52
Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
by Raymond Hettinger
· 13 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
Next »