summaryrefslogtreecommitdiffstats
path: root/Lib/functools.py
Commit message (Expand)AuthorAgeFilesLines
* Sync-up with 3.4 to make maintenance easier.Raymond Hettinger2013-03-091-9/+7
* Improve comments and variable names.Raymond Hettinger2013-03-091-14/+37
* Another nit.Raymond Hettinger2013-03-041-1/+1
* Fix other re-entrancy nits for the lru_cache.Raymond Hettinger2013-03-041-7/+11
* Remove dependency on dummy_threading (to solve a bootstrap problem).Raymond Hettinger2013-03-021-1/+4
* Don't deadlock on a reentrant call.Raymond Hettinger2013-03-011-3/+3
* Separate key creation logic from the sequence class that memoizes its hash va...Raymond Hettinger2012-06-041-19/+24
* Minor change to default lru size. Set default to a power of two.Raymond Hettinger2012-05-201-1/+1
* Move make_key() out of the decorator body. Make keys that only need to be has...Raymond Hettinger2012-05-011-17/+27
* Use a flag to indicate when the circular queue is fully populated and stable.Raymond Hettinger2012-05-011-9/+12
* Handle a possible race conditionRaymond Hettinger2012-04-301-0/+6
* Track the cache size directly.Raymond Hettinger2012-04-301-10/+11
* Factor out shared variables.Raymond Hettinger2012-04-291-4/+6
* Flatten the lru cache keyword args tuple for better memory utilization.Raymond Hettinger2012-04-291-1/+3
* Fix-up a commentRaymond Hettinger2012-03-311-3/+2
* Fix-up comments and add a sentinel variable for clarity.Raymond Hettinger2012-03-311-16/+17
* No need to create and destroy links when updating a fixed-sized circular queue.Raymond Hettinger2012-03-311-11/+16
* Minor cleanup: add whitespace, add comments, bring function attribute updates...Raymond Hettinger2012-03-301-5/+4
* Fix whitespaceRaymond Hettinger2012-03-171-1/+1
* Low overhead path for maxsize==0Raymond Hettinger2012-03-171-2/+13
* Section-off the source for better readability.Raymond Hettinger2012-03-171-0/+23
* Minor beautification.Raymond Hettinger2012-03-171-1/+1
* Root variable is not changed.Raymond Hettinger2012-03-171-1/+1
* Fix whitespaceRaymond Hettinger2012-03-171-1/+1
* Unique sentinel value for cache.get()Raymond Hettinger2012-03-171-2/+2
* Refactor calculation of the cache key. Minor code cleanups.Raymond Hettinger2012-03-161-25/+21
* merge headsBenjamin Peterson2012-03-161-2/+1
|\
| * Minor code cleanup.Raymond Hettinger2012-03-161-2/+1
* | clear the root with the cacheBenjamin Peterson2012-03-161-1/+3
|/
* Eliminate duplicate link lookup. Minor cleanup.Raymond Hettinger2012-03-161-2/+2
* Improve the memory utilization (and speed) of functools.lru_cache().Raymond Hettinger2012-03-161-21/+32
* Issue #13544: Add __qualname__ to functools.WRAPPER_ASSIGNMENTS.Meador Inge2011-12-121-1/+2
* Issue 13227: Option to make the lru_cache() type specific (suggested by Andre...Raymond Hettinger2011-10-201-4/+18
* MergeRaymond Hettinger2011-10-161-15/+19
|\
| * Issue 13177: Make tracebacks more readable by avoiding chained exceptions in ...Raymond Hettinger2011-10-161-15/+19
| * Sync-up minor code edits with the default branch.Raymond Hettinger2011-05-051-4/+4
* | Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.Raymond Hettinger2011-05-031-2/+1
|\ \ | |/
| * Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.Raymond Hettinger2011-05-031-2/+1
* | Issue #11707: Fast C version of functools.cmp_to_key()Raymond Hettinger2011-04-051-1/+6
* | Issue #11628: cmp_to_key should use __slots__.Raymond Hettinger2011-03-221-0/+1
|\ \ | |/
| * Issue #11628: cmp_to_key should use __slots__.Raymond Hettinger2011-03-221-0/+1
* | Minor optimization -- factor a constant expression out of the inner-loop.Raymond Hettinger2011-03-181-3/+3
|/
* Add comment.Raymond Hettinger2011-01-111-1/+1
* Issue #10042: Fixed the total_ordering decorator to handle cross-typeRaymond Hettinger2011-01-081-8/+8
* Issue 10593: Adopt Nick's suggestion for an lru_cache with maxsize=None.Raymond Hettinger2010-12-011-19/+41
* Doc and docstring nits.Raymond Hettinger2010-12-011-2/+2
* Add example, tighten text, and minor clean-ups.Raymond Hettinger2010-11-301-2/+2
* Neaten-up a bit.Raymond Hettinger2010-11-301-7/+6
* Issue 10586: change the new functools.lru_cache implementation to expose the ...Nick Coghlan2010-11-301-7/+18
* Clean-up docstring, comments, and whitespace.Raymond Hettinger2010-11-251-5/+15