Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge | Raymond Hettinger | 2017-01-09 | 1 | -4/+3 |
|\ | |||||
| * | Issue #29203: functools.lru_cache() now respects PEP 468 | Raymond Hettinger | 2017-01-09 | 1 | -4/+3 |
| | | |||||
* | | Issue #28991: Address comment that the __len__ call looked unattractive | Raymond Hettinger | 2016-12-16 | 1 | -3/+4 |
|/ | |||||
* | merge | Raymond Hettinger | 2016-12-16 | 1 | -2/+4 |
|\ | |||||
| * | Issue #28991: Fix obscure reentrancy bug in functools.lru_cache(). | Raymond Hettinger | 2016-12-16 | 1 | -2/+4 |
| | | |||||
* | | Issue #27137: align Python & C implementations of functools.partial | Nick Coghlan | 2016-09-10 | 1 | -17/+75 |
|/ | | | | | | | | The pure Python fallback implementation of functools.partial now matches the behaviour of its accelerated C counterpart for subclassing, pickling and text representation purposes. Patch by Emanuel Barry and Serhiy Storchaka. | ||||
* | Removed redundant call of update_wrapper(). | Serhiy Storchaka | 2015-10-24 | 1 | -1/+1 |
| | |||||
* | Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses. | Yury Selivanov | 2015-08-18 | 1 | -1/+1 |
| | | | | Patch by Ethan Furman. | ||||
* | Backed out changeset: b0a0b9b59012 | Serhiy Storchaka | 2015-05-24 | 1 | -99/+108 |
| | |||||
* | Backed out changeset 57776eee74f2 | Larry Hastings | 2015-05-23 | 1 | -108/+99 |
| | |||||
* | Issue #14373: Added C implementation of functools.lru_cache(). Based on | Serhiy Storchaka | 2015-05-23 | 1 | -99/+108 |
| | | | | patches by Matt Joiner and Alexey Kachayev. | ||||
* | Issue #16261: Converted some bare except statements to except statements | Serhiy Storchaka | 2015-05-20 | 1 | -1/+1 |
| | | | | with specified exception type. Original patch by Ramchandra Apte. | ||||
* | Reduce the overhead in functools.total_ordering by localizing NotImplemented. | Raymond Hettinger | 2015-05-13 | 1 | -12/+12 |
| | | | | (Sugguested by Serhiy Storchaka) | ||||
* | Issue #7830: Flatten nested functools.partial. | Alexander Belopolsky | 2015-03-01 | 1 | -0/+8 |
| | |||||
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ | Serhiy Storchaka | 2015-01-31 | 1 | -2/+0 |
| | | | | implementation in issue #21408 they are redundant. | ||||
* | No need to rebuild a constant dictionary on every call. Move convert ↵ | Raymond Hettinger | 2015-01-14 | 1 | -16/+17 |
| | | | | mapping to module level. | ||||
* | Minor speed-up. Use local variable instead of a global lookup. | Raymond Hettinger | 2015-01-07 | 1 | -10/+10 |
| | |||||
* | merge | Raymond Hettinger | 2015-01-06 | 1 | -76/+81 |
|\ | |||||
| * | Issue #23132: Mitigate regression in speed and clarity in ↵ | Raymond Hettinger | 2015-01-06 | 1 | -64/+78 |
| | | | | | | | | functools.total_ordering. | ||||
* | | Issue #23132: Improve performance and introspection support of comparison | Serhiy Storchaka | 2015-01-01 | 1 | -41/+50 |
| | | | | | | | | methods created by functool.total_ordering. | ||||
* | | merge | Raymond Hettinger | 2014-08-12 | 1 | -0/+6 |
|\ \ | |/ | |||||
| * | Issue 22184: Early detection and reporting of missing lru_cache parameters | Raymond Hettinger | 2014-08-12 | 1 | -0/+6 |
| | | |||||
* | | Issue #22032: __qualname__ instead of __name__ is now always used to format | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
|/ | | | | fully qualified class names of Python implemented classes. | ||||
* | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+1 |
| | |||||
* | inspect.signature: Add support for 'functools.partialmethod' #20223 | Yury Selivanov | 2014-01-27 | 1 | -0/+1 |
| | |||||
* | 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. |