152 Commits (2f172d8f1525defe9bba4d49e967fdfc69151731)

Author SHA1 Message Date
Pablo Galindo 2f172d8f15
bpo-17005: Move topological sort functionality to its own module (GH-20558) 6 years ago
Raymond Hettinger 21cdb711e3
bpo-40571: Make lru_cache(maxsize=None) more discoverable (GH-20019) 6 years ago
Ethan Smith cecf049673
bpo-39481: Make functools.cached_property, partial, partialmethod generic (#19427) 6 years ago
Nikita Sobolev bd87a7fda0
Updates functools.py with consistent quotes (GH-18825) 6 years ago
MojoVampire 469325c30e
bpo-35712: Make using NotImplemented in a boolean context issue a deprecation warning (GH-13195) 6 years ago
Hakan Çelik 217dce9ee6
bpo-39815: add cached_property to all (GH-18726) 6 years ago
Pablo Galindo 99e6c260d6
bpo-17005: Add a class to perform topological sorting to the standard library (GH-11583) 6 years ago
Manjusaka 051ff526b5 bpo-38565: add new cache_parameters method for lru_cache (GH-16916) 6 years ago
amist 336b3064d8 Doc: Fix Wikipedia link for functools.lru_cache (GH-16183) 6 years ago
Raymond Hettinger 0dac68f1e5
bpo-36743: __get__ is sometimes called without the owner argument (#12992) 6 years ago
Serhiy Storchaka 142566c028
[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620) 7 years ago
Serhiy Storchaka 2085bd0877
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 7 years ago
Raymond Hettinger b821868e6d
bpo-36772 Allow lru_cache to be used as decorator without making a function call (GH-13048) 7 years ago
Lysandros Nikolaou d673810b9d bpo-35252: Remove FIXME from test_functools (GH-10551) 7 years ago
Serhiy Storchaka d53cf99dca
bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705) 7 years ago
Serhiy Storchaka 42a139ed88
bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637) 7 years ago
Serhiy Storchaka da0847048a
bpo-36431: Use PEP 448 dict unpacking for merging two dicts. (GH-12553) 7 years ago
Raymond Hettinger ffdf1c30ab
Consistently move the misses update to just before the user function call (GH-11715) 7 years ago
Raymond Hettinger d8080c0119
bpo-35780: Fix errors in lru_cache() C code (GH-11623) 7 years ago
Pablo Galindo 7cd2543416
bpo-34890: Make iscoroutinefunction, isgeneratorfunction and isasyncgenfunction work with functools.partial (GH-9903) 7 years ago
madman-bob e25d5fc18e bpo-32321: Add pure Python fallback for functools.reduce (GH-8548) 7 years ago
Carl Meyer d658deac60 bpo-21145: Add cached_property decorator in functools (#6982) 7 years ago
Dong-hee Na 445f1b35ce bpo-33967: Fix singledispatch raised IndexError when no args (GH-8184) 8 years ago
Ethan Smith c651275afe bpo-32380: Create functools.singledispatchmethod (#6306) 8 years ago
Łukasz Langa e56975351b
bpo-32227: functools.singledispatch supports registering via type annotations (#4733) 8 years ago
INADA Naoki 9811e80fd0 bpo-31581: Reduce the number of imports for functools (GH-3757) 8 years ago
Antoine Pitrou a6a4dc816d bpo-31370: Remove support for threads-less builds (#3385) 8 years ago
Raymond Hettinger 15ce0bee97 Conceptually, roots is a set. Also searching it as a set is a tiny bit faster (#3338) 8 years ago
Raymond Hettinger 550370957c Add comment to explain the implications of not sorting keywords (#3331) 8 years ago
Raymond Hettinger 19c7238560 Sync-up with 3.7 by backporting minor lru_cache code beautification 9 years ago
Raymond Hettinger 4ee39141e8 Issue #29203: functools.lru_cache() now respects PEP 468 9 years ago
Raymond Hettinger b2d4b3d415 Issue #28991: Address comment that the __len__ call looked unattractive 9 years ago
Raymond Hettinger af56e0e70f Issue #28991: Fix obscure reentrancy bug in functools.lru_cache(). 9 years ago
Nick Coghlan 457fc9a69e Issue #27137: align Python & C implementations of functools.partial 9 years ago
Serhiy Storchaka ce2295def3 Removed redundant call of update_wrapper(). 10 years ago
Yury Selivanov ab7cc7598a Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses. 10 years ago
Yury Selivanov 77a8cd65be Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses. 10 years ago
Serhiy Storchaka 46c5611948 Backed out changeset: b0a0b9b59012 11 years ago
Larry Hastings 8252cc9832 Backed out changeset 57776eee74f2 11 years ago
Serhiy Storchaka 1c858c352b Issue #14373: Added C implementation of functools.lru_cache(). Based on 11 years ago
Serhiy Storchaka ba9ac5b5c4 Issue #16261: Converted some bare except statements to except statements 11 years ago
Raymond Hettinger ffcd8490d0 Reduce the overhead in functools.total_ordering by localizing NotImplemented. 11 years ago
Alexander Belopolsky e49af34151 Issue #7830: Flatten nested functools.partial. 11 years ago
Serhiy Storchaka 08448a1f4d Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ 11 years ago
Raymond Hettinger 1a8ada89f9 No need to rebuild a constant dictionary on every call. Move convert mapping to module level. 11 years ago
Raymond Hettinger e5db863c22 Minor speed-up. Use local variable instead of a global lookup. 11 years ago
Raymond Hettinger 0603d3049e Issue #23132: Mitigate regression in speed and clarity in functools.total_ordering. 11 years ago
Serhiy Storchaka 697a526fa1 Issue #23132: Improve performance and introspection support of comparison 11 years ago
Raymond Hettinger 4d58897fdb Issue 22184: Early detection and reporting of missing lru_cache parameters 12 years ago
Serhiy Storchaka 521e5860a5 Issue #22032: __qualname__ instead of __name__ is now always used to format 12 years ago