summaryrefslogtreecommitdiff
path: root/Lib/functools.py
AgeCommit message (Expand)AuthorLines
2011-10-15Issue 13177: Make tracebacks more readable by avoiding chained exceptions in ...Raymond Hettinger-15/+19
2011-05-05Sync-up minor code edits with the default branch.Raymond Hettinger-4/+4
2011-05-03Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.Raymond Hettinger-2/+1
2011-03-21Issue #11628: cmp_to_key should use __slots__.Raymond Hettinger-0/+1
2011-01-11Add comment.Raymond Hettinger-1/+1
2011-01-08Issue #10042: Fixed the total_ordering decorator to handle cross-typeRaymond Hettinger-8/+8
2010-12-01Issue 10593: Adopt Nick's suggestion for an lru_cache with maxsize=None.Raymond Hettinger-19/+41
2010-12-01Doc and docstring nits.Raymond Hettinger-2/+2
2010-11-30Add example, tighten text, and minor clean-ups.Raymond Hettinger-2/+2
2010-11-30Neaten-up a bit.Raymond Hettinger-7/+6
2010-11-30Issue 10586: change the new functools.lru_cache implementation to expose the ...Nick Coghlan-7/+18
2010-11-25Clean-up docstring, comments, and whitespace.Raymond Hettinger-5/+15
2010-09-16Improve commentRaymond Hettinger-1/+1
2010-09-14Future proof total_ordering against changes in methods defined on object.Raymond Hettinger-1/+1
2010-09-11Revert r84700 which had an unfortunate performance cost.Raymond Hettinger-2/+2
2010-09-11Separate positional arguments from localized globals.Raymond Hettinger-2/+2
2010-09-10add reduce and partial to __all__Benjamin Peterson-1/+1
2010-09-06Add method to OrderedDict for repositioning keys to the ends.Raymond Hettinger-1/+1
2010-09-05Clean-up functools.total_ordering().Raymond Hettinger-4/+2
2010-09-04Adopt more descriptive attribute names as suggested on python-dev.Raymond Hettinger-6/+6
2010-09-02Readability nit.Raymond Hettinger-1/+2
2010-09-02Better method name. Tighten inner-loop with bound methods.Raymond Hettinger-2/+3
2010-09-02Speed-up cache updatesRaymond Hettinger-2/+1
2010-08-24remove parensBenjamin Peterson-1/+1
2010-08-23run total_ordering() tests, and fix the function (default comparisons shouldn...Benjamin Peterson-1/+4
2010-08-17Document and test the resolution of issue 3445 (tolerate missing attributes i...Nick Coghlan-2/+7
2010-08-15Fix __all__.Raymond Hettinger-1/+1
2010-08-15Remove unused importsRaymond Hettinger-3/+1
2010-08-15Remove the lfu_cache. Add more tests.Raymond Hettinger-52/+0
2010-08-14Support cache sizes.Raymond Hettinger-1/+1
2010-08-14Localize one more builtin lookup.Raymond Hettinger-2/+4
2010-08-14Add locks to make the caches well behaved in multi-threaded code.Raymond Hettinger-24/+39
2010-08-08use same quoting as the rest of the fileBenjamin Peterson-6/+6
2010-08-04Issue #8814: function annotations (the `__annotations__` attribute)Antoine Pitrou-2/+3
2010-07-31Re-commit r83327 now that the release is done.Georg Brandl-1/+93
2010-07-31Revert r83327. This will have to wait until after the alpha1 release.Georg Brandl-93/+1
2010-07-31Add functools.lfu_cache() and functools.lru_cache().Raymond Hettinger-1/+93
2010-05-19Merged revisions 80068 via svnmerge fromGeorg Brandl-2/+2
2010-04-10Issue 8361: Remove assert from functools.total_orderingRaymond Hettinger-2/+3
2010-04-05Forward port total_ordering() and cmp_to_key().Raymond Hettinger-0/+47
2006-12-13Four months of trunk changes (including a few releases...)Thomas Wouters-2/+2
2006-08-26Part of SF patch #1513870 (the still relevant part) -- add reduce() toGuido van Rossum-1/+1
2006-06-08Merge the rest of the trunk.Thomas Wouters-18/+43
2006-06-08Partially merge trunk into p3yk. The removal of Mac/Tools is confusing svnThomas Wouters-0/+26