Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix functools.partialmethod docs and __all__ | Nick Coghlan | 2013-11-04 | 1 | -1/+1 |
| | |||||
* | Issue #4331: Added functools.partialmethod | Nick Coghlan | 2013-11-03 | 1 | -2/+76 |
| | | | | Initial patch by Alon Horev | ||||
* | Close #10042: functools.total_ordering now handles NotImplemented | Nick Coghlan | 2013-10-01 | 1 | -12/+82 |
| | | | | (Patch by Katie Miller) | ||||
* | Close issue 17482: don't overwrite __wrapped__ | Nick Coghlan | 2013-07-15 | 1 | -1/+3 |
| | |||||
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -3/+3 |
| | |||||
* | Issue #18244: Adopt C3-based linearization in functools.singledispatch for ↵ | Łukasz Langa | 2013-07-01 | 1 | -43/+135 |
| | | | | improved ABC support | ||||
* | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -3/+3 |
| | | | | ModuleNotFoundError. | ||||
* | Add reference implementation for PEP 443 | Łukasz Langa | 2013-06-05 | 1 | -4/+124 |
| | | | | PEP accepted: http://mail.python.org/pipermail/python-dev/2013-June/126734.html | ||||
* | merge | Raymond Hettinger | 2013-03-09 | 1 | -2/+2 |
|\ | |||||
| * | Sync-up with 3.4 to make maintenance easier. | Raymond Hettinger | 2013-03-09 | 1 | -9/+7 |
| | | |||||
* | | merge | Raymond Hettinger | 2013-03-09 | 1 | -12/+35 |
|\ \ | |/ | |||||
| * | Improve comments and variable names. | Raymond Hettinger | 2013-03-09 | 1 | -14/+37 |
| | | |||||
* | | Merge | Raymond Hettinger | 2013-03-04 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Another nit. | Raymond Hettinger | 2013-03-04 | 1 | -1/+1 |
| | | |||||
* | | merge | Raymond Hettinger | 2013-03-04 | 1 | -7/+11 |
|\ \ | |/ | |||||
| * | Fix other re-entrancy nits for the lru_cache. | Raymond Hettinger | 2013-03-04 | 1 | -7/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep references for oldkey and oldvalue so they can't trigger a __del__ method to reenter our thread. Move the cache[key]=link step to the end, after the link data is in a consistent state. Under exotic circumstances, the cache[key]=link step could trigger reentrancy (i.e. the key would have to have a hash exactly equal to that for another key in the cache and the key would need a __eq__ method that makes a reentrant call our cached function). | ||||
* | | Merge | Raymond Hettinger | 2013-03-02 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | Remove dependency on dummy_threading (to solve a bootstrap problem). | Raymond Hettinger | 2013-03-02 | 1 | -1/+4 |
| | | |||||
* | | Merge | Raymond Hettinger | 2013-03-01 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Don't deadlock on a reentrant call. | Raymond Hettinger | 2013-03-01 | 1 | -3/+3 |
| | | |||||
* | | Eliminate unnecessary variable. | Raymond Hettinger | 2013-02-17 | 1 | -10/+7 |
| | | |||||
* | | Issue #12428: Add a pure Python implementation of functools.partial(). | Antoine Pitrou | 2012-11-13 | 1 | -1/+27 |
|/ | | | | Patch by Brian Thorne. | ||||
* | Separate key creation logic from the sequence class that memoizes its hash ↵ | Raymond Hettinger | 2012-06-04 | 1 | -19/+24 |
| | | | | value. | ||||
* | Minor change to default lru size. Set default to a power of two. | Raymond Hettinger | 2012-05-20 | 1 | -1/+1 |
| | |||||
* | Move make_key() out of the decorator body. Make keys that only need to be ↵ | Raymond Hettinger | 2012-05-01 | 1 | -17/+27 |
| | | | | hashed once. | ||||
* | Use a flag to indicate when the circular queue is fully populated and stable. | Raymond Hettinger | 2012-05-01 | 1 | -9/+12 |
| | |||||
* | Handle a possible race condition | Raymond Hettinger | 2012-04-30 | 1 | -0/+6 |
| | |||||
* | Track the cache size directly. | Raymond Hettinger | 2012-04-30 | 1 | -10/+11 |
| | |||||
* | Factor out shared variables. | Raymond Hettinger | 2012-04-29 | 1 | -4/+6 |
| | |||||
* | Flatten the lru cache keyword args tuple for better memory utilization. | Raymond Hettinger | 2012-04-29 | 1 | -1/+3 |
| | |||||
* | Fix-up a comment | Raymond Hettinger | 2012-03-31 | 1 | -3/+2 |
| | |||||
* | Fix-up comments and add a sentinel variable for clarity. | Raymond Hettinger | 2012-03-31 | 1 | -16/+17 |
| | |||||
* | No need to create and destroy links when updating a fixed-sized circular queue. | Raymond Hettinger | 2012-03-31 | 1 | -11/+16 |
| | |||||
* | Minor cleanup: add whitespace, add comments, bring function attribute ↵ | Raymond Hettinger | 2012-03-30 | 1 | -5/+4 |
| | | | | updates together. | ||||
* | Fix whitespace | Raymond Hettinger | 2012-03-17 | 1 | -1/+1 |
| | |||||
* | Low overhead path for maxsize==0 | Raymond Hettinger | 2012-03-17 | 1 | -2/+13 |
| | |||||
* | Section-off the source for better readability. | Raymond Hettinger | 2012-03-17 | 1 | -0/+23 |
| | |||||
* | Minor beautification. | Raymond Hettinger | 2012-03-17 | 1 | -1/+1 |
| | |||||
* | Root variable is not changed. | Raymond Hettinger | 2012-03-17 | 1 | -1/+1 |
| | |||||
* | Fix whitespace | Raymond Hettinger | 2012-03-17 | 1 | -1/+1 |
| | |||||
* | Unique sentinel value for cache.get() | Raymond Hettinger | 2012-03-17 | 1 | -2/+2 |
| | |||||
* | Refactor calculation of the cache key. Minor code cleanups. | Raymond Hettinger | 2012-03-16 | 1 | -25/+21 |
| | |||||
* | merge heads | Benjamin Peterson | 2012-03-16 | 1 | -2/+1 |
|\ | |||||
| * | Minor code cleanup. | Raymond Hettinger | 2012-03-16 | 1 | -2/+1 |
| | | |||||
* | | clear the root with the cache | Benjamin Peterson | 2012-03-16 | 1 | -1/+3 |
|/ | |||||
* | Eliminate duplicate link lookup. Minor cleanup. | Raymond Hettinger | 2012-03-16 | 1 | -2/+2 |
| | |||||
* | Improve the memory utilization (and speed) of functools.lru_cache(). | Raymond Hettinger | 2012-03-16 | 1 | -21/+32 |
| | |||||
* | Issue #13544: Add __qualname__ to functools.WRAPPER_ASSIGNMENTS. | Meador Inge | 2011-12-12 | 1 | -1/+2 |
| | | | | Patch by Filip Gruszczyński. | ||||
* | Issue 13227: Option to make the lru_cache() type specific (suggested by ↵ | Raymond Hettinger | 2011-10-20 | 1 | -4/+18 |
| | | | | Andrew Koenig). | ||||
* | Merge | Raymond Hettinger | 2011-10-16 | 1 | -15/+19 |
|\ |