log Lib/functools.py @ 70817:dd775b1561ba

age author description
Thu, 05 May 2011 14:15:44 -0700 Raymond Hettinger null merge
Tue, 03 May 2011 11:16:36 -0700 Raymond Hettinger Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.
Tue, 05 Apr 2011 02:33:54 -0700 Raymond Hettinger Issue #11707: Fast C version of functools.cmp_to_key()
Mon, 21 Mar 2011 17:54:04 -0700 Raymond Hettinger Issue #11628: cmp_to_key should use __slots__.
Fri, 18 Mar 2011 15:09:10 -0700 Raymond Hettinger Minor optimization -- factor a constant expression out of the inner-loop.
Sat, 15 Oct 2011 23:50:42 -0700 Raymond Hettinger Issue 13177: Make tracebacks more readable by avoiding chained exceptions in the lru_cache. 3.2
Thu, 05 May 2011 14:15:12 -0700 Raymond Hettinger Sync-up minor code edits with the default branch. 3.2
Tue, 03 May 2011 11:01:32 -0700 Raymond Hettinger Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable. 3.2
Mon, 21 Mar 2011 17:50:28 -0700 Raymond Hettinger Issue #11628: cmp_to_key should use __slots__. 3.2
Sat, 05 Mar 2011 15:15:55 +0100 Georg Brandl Dummy-merge 3.1 branch into 3.2 branch. 3.2
Tue, 11 Jan 2011 22:08:55 +0000 Raymond Hettinger Add comment.
Sat, 08 Jan 2011 07:01:56 +0000 Raymond Hettinger Issue #10042: Fixed the total_ordering decorator to handle cross-type
Wed, 01 Dec 2010 03:45:41 +0000 Raymond Hettinger Issue 10593: Adopt Nick's suggestion for an lru_cache with maxsize=None.
Wed, 01 Dec 2010 00:47:56 +0000 Raymond Hettinger Doc and docstring nits.
Tue, 30 Nov 2010 19:15:45 +0000 Raymond Hettinger Add example, tighten text, and minor clean-ups.
Tue, 30 Nov 2010 07:13:04 +0000 Raymond Hettinger Neaten-up a bit.
Tue, 30 Nov 2010 06:19:46 +0000 Nick Coghlan 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.
Thu, 25 Nov 2010 08:11:57 +0000 Raymond Hettinger Clean-up docstring, comments, and whitespace.
Thu, 16 Sep 2010 00:31:21 +0000 Raymond Hettinger Improve comment
Tue, 14 Sep 2010 22:55:13 +0000 Raymond Hettinger Future proof total_ordering against changes in methods defined on object.
Sat, 11 Sep 2010 08:07:42 +0000 Raymond Hettinger Revert r84700 which had an unfortunate performance cost.
Sat, 11 Sep 2010 00:05:44 +0000 Raymond Hettinger Separate positional arguments from localized globals.
Fri, 10 Sep 2010 23:35:52 +0000 Benjamin Peterson add reduce and partial to __all__
Mon, 06 Sep 2010 21:26:09 +0000 Raymond Hettinger Add method to OrderedDict for repositioning keys to the ends.
Sun, 05 Sep 2010 05:57:35 +0000 Raymond Hettinger Clean-up functools.total_ordering().
Sat, 04 Sep 2010 22:46:06 +0000 Raymond Hettinger Adopt more descriptive attribute names as suggested on python-dev.
Thu, 02 Sep 2010 19:58:35 +0000 Raymond Hettinger Readability nit.
Thu, 02 Sep 2010 19:56:28 +0000 Raymond Hettinger Better method name. Tighten inner-loop with bound methods.
Thu, 02 Sep 2010 09:44:28 +0000 Raymond Hettinger Speed-up cache updates
Tue, 24 Aug 2010 21:30:14 +0000 Benjamin Peterson remove parens
Mon, 23 Aug 2010 17:40:33 +0000 Benjamin Peterson run total_ordering() tests, and fix the function (default comparisons shouldn't be considered)
Tue, 17 Aug 2010 06:17:18 +0000 Nick Coghlan 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)
Sun, 15 Aug 2010 07:41:40 +0000 Raymond Hettinger Fix __all__.
Sun, 15 Aug 2010 03:35:24 +0000 Raymond Hettinger Remove unused imports
Sun, 15 Aug 2010 03:30:45 +0000 Raymond Hettinger Remove the lfu_cache. Add more tests.
Sat, 14 Aug 2010 23:52:08 +0000 Raymond Hettinger Support cache sizes.
Sat, 14 Aug 2010 22:29:52 +0000 Raymond Hettinger Localize one more builtin lookup.
Sat, 14 Aug 2010 22:22:10 +0000 Raymond Hettinger Add locks to make the caches well behaved in multi-threaded code.
Sun, 08 Aug 2010 13:17:07 +0000 Benjamin Peterson use same quoting as the rest of the file
Wed, 04 Aug 2010 18:28:02 +0000 Antoine Pitrou Issue #8814: function annotations (the `__annotations__` attribute)
Sat, 31 Jul 2010 18:09:23 +0000 Georg Brandl Re-commit r83327 now that the release is done.
Sat, 31 Jul 2010 10:16:21 +0000 Georg Brandl Revert r83327. This will have to wait until after the alpha1 release.
Sat, 31 Jul 2010 10:11:39 +0000 Raymond Hettinger Add functools.lfu_cache() and functools.lru_cache().
Wed, 19 May 2010 21:06:36 +0000 Georg Brandl Merged revisions 80068 via svnmerge from
Sat, 10 Apr 2010 16:59:03 +0000 Raymond Hettinger Issue 8361: Remove assert from functools.total_ordering
Mon, 05 Apr 2010 18:56:31 +0000 Raymond Hettinger Forward port total_ordering() and cmp_to_key().
Sun, 08 Aug 2010 00:56:52 +0000 Raymond Hettinger Issue 8814: functools.wraps() did not copy __annotations__. 3.1
Wed, 13 Dec 2006 04:49:30 +0000 Thomas Wouters Four months of trunk changes (including a few releases...)
Sat, 26 Aug 2006 20:49:04 +0000 Guido van Rossum Part of SF patch #1513870 (the still relevant part) -- add reduce() to
Thu, 08 Jun 2006 15:35:45 +0000 Thomas Wouters Merge the rest of the trunk.
Thu, 08 Jun 2006 14:42:34 +0000 Thomas Wouters Partially merge trunk into p3yk. The removal of Mac/Tools is confusing svn
Tue, 22 Mar 2011 13:20:59 -0700 Raymond Hettinger Issue #11628: cmp_to_key should use__slots__. 2.7
Sat, 19 Mar 2011 04:29:36 +0100 Éric Araujo Fix the total_ordering decorator to handle cross-type comparisons 2.7
Sat, 05 Mar 2011 15:15:07 +0100 Georg Brandl Dummy-merge 2.6 branch into 2.7 branch. 2.7
Wed, 14 Apr 2010 08:56:01 +0000 Georg Brandl #5341: fix typo and adapt docstring syntax. legacy-trunk
Sat, 10 Apr 2010 16:57:36 +0000 Raymond Hettinger Issue 8361: Remove assert from functools.total_ordering legacy-trunk
Mon, 05 Apr 2010 18:53:43 +0000 Raymond Hettinger Classes that override __eq__ also need to define __hash__. legacy-trunk
Sun, 04 Apr 2010 21:45:01 +0000 Raymond Hettinger Add tests for cmp_to_key. legacy-trunk
Sun, 04 Apr 2010 18:34:45 +0000 Raymond Hettinger Add functools.CmpToKey() legacy-trunk
Sat, 05 Mar 2011 15:13:50 +0100 Georg Brandl Dummy-merge 2.5 branch into 2.6 branch. 2.6