summaryrefslogtreecommitdiffstats
path: root/Lib/functools.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23132: Mitigate regression in speed and clarity in ↵Raymond Hettinger2015-01-061-64/+78
| | | | functools.total_ordering.
* Issue 22184: Early detection and reporting of missing lru_cache parametersRaymond Hettinger2014-08-121-0/+6
|
* Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-201-1/+1
|
* inspect.signature: Add support for 'functools.partialmethod' #20223Yury Selivanov2014-01-271-0/+1
|
* Fix functools.partialmethod docs and __all__Nick Coghlan2013-11-041-1/+1
|
* Issue #4331: Added functools.partialmethodNick Coghlan2013-11-031-2/+76
| | | | Initial patch by Alon Horev
* Close #10042: functools.total_ordering now handles NotImplementedNick Coghlan2013-10-011-12/+82
| | | | (Patch by Katie Miller)
* Close issue 17482: don't overwrite __wrapped__Nick Coghlan2013-07-151-1/+3
|
* Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-3/+3
|
* Issue #18244: Adopt C3-based linearization in functools.singledispatch for ↵Łukasz Langa2013-07-011-43/+135
| | | | improved ABC support
* Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-3/+3
| | | | ModuleNotFoundError.
* Add reference implementation for PEP 443Łukasz Langa2013-06-051-4/+124
| | | | PEP accepted: http://mail.python.org/pipermail/python-dev/2013-June/126734.html
* mergeRaymond Hettinger2013-03-091-2/+2
|\
| * Sync-up with 3.4 to make maintenance easier.Raymond Hettinger2013-03-091-9/+7
| |
* | mergeRaymond Hettinger2013-03-091-12/+35
|\ \ | |/
| * Improve comments and variable names.Raymond Hettinger2013-03-091-14/+37
| |
* | MergeRaymond Hettinger2013-03-041-1/+1
|\ \ | |/
| * Another nit.Raymond Hettinger2013-03-041-1/+1
| |
* | mergeRaymond Hettinger2013-03-041-7/+11
|\ \ | |/
| * Fix other re-entrancy nits for the lru_cache.Raymond Hettinger2013-03-041-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).
* | MergeRaymond Hettinger2013-03-021-1/+4
|\ \ | |/
| * Remove dependency on dummy_threading (to solve a bootstrap problem).Raymond Hettinger2013-03-021-1/+4
| |
* | MergeRaymond Hettinger2013-03-011-3/+3
|\ \ | |/
| * Don't deadlock on a reentrant call.Raymond Hettinger2013-03-011-3/+3
| |
* | Eliminate unnecessary variable.Raymond Hettinger2013-02-171-10/+7
| |
* | Issue #12428: Add a pure Python implementation of functools.partial().Antoine Pitrou2012-11-131-1/+27
|/ | | | Patch by Brian Thorne.
* Separate key creation logic from the sequence class that memoizes its hash ↵Raymond Hettinger2012-06-041-19/+24
| | | | value.
* 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 ↵Raymond Hettinger2012-05-011-17/+27
| | | | hashed once.
* 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 ↵Raymond Hettinger2012-03-301-5/+4
| | | | updates together.
* 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
|