summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_functools.py
Commit message (Collapse)AuthorAgeFilesLines
* Backed out changeset: b0a0b9b59012Serhiy Storchaka2015-05-241-17/+92
|
* Backed out changeset 57776eee74f2Larry Hastings2015-05-231-92/+17
|
* Issue #14373: Added C implementation of functools.lru_cache(). Based onSerhiy Storchaka2015-05-231-17/+92
| | | | patches by Matt Joiner and Alexey Kachayev.
* merge 3.4Benjamin Peterson2015-05-091-0/+2
|\
| * ensure .keywords is always a dictBenjamin Peterson2015-05-091-0/+2
| |
* | Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-28/+1
| | | | | | | | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run.
* | Issue #7830: Flatten nested functools.partial.Alexander Belopolsky2015-03-011-0/+10
| |
* | Issue #19681: Test the repr of partial with more than one keyword argument.Serhiy Storchaka2015-02-151-7/+9
|\ \ | |/
| * Issue #19681: Test the repr of partial with more than one keyword argument.Serhiy Storchaka2015-02-151-7/+9
| |
* | Issue #23132: Improve performance and introspection support of comparisonSerhiy Storchaka2015-01-011-0/+18
|/ | | | methods created by functool.total_ordering.
* Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-2/+3
|
* Issue 22184: Early detection and reporting of missing lru_cache parametersRaymond Hettinger2014-08-121-0/+7
|
* Issue #19535: Fixed test_docxmlrpc, test_functools, test_inspect, andSerhiy Storchaka2013-12-081-1/+2
|\ | | | | | | test_statistics when python is run with -OO.
* \ Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-14/+15
|\ \ | |/
| * Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-5/+5
| |
* | Issue #19681: Apply a quick and minimal band-aid.Christian Heimes2013-11-221-1/+2
| | | | | | | | | | The flaky buildbots make it hard to detect real issue. This is just a temporary fix until we agree on a permanent solution.
* | Issue #4331: Added functools.partialmethodNick Coghlan2013-11-031-0/+116
| | | | | | | | Initial patch by Alon Horev
* | Close #10042: functools.total_ordering now handles NotImplementedNick Coghlan2013-10-011-7/+101
| | | | | | | | (Patch by Katie Miller)
* | Close issue 17482: don't overwrite __wrapped__Nick Coghlan2013-07-151-3/+11
| |
* | Issue #18244: Adopt C3-based linearization in functools.singledispatch for ↵Łukasz Langa2013-07-011-21/+153
| | | | | | | | improved ABC support
* | Fixed #18150: duplicate test inside TestSingleDispatchŁukasz Langa2013-06-071-19/+14
| | | | | | | | Thanks to Vajrasky Kok for the patch
* | Add reference implementation for PEP 443Łukasz Langa2013-06-051-3/+369
| | | | | | | | PEP accepted: http://mail.python.org/pipermail/python-dev/2013-June/126734.html
* | mergeRaymond Hettinger2013-03-041-0/+25
|\ \ | |/
| * Add test for RLock in the lru_cache().Raymond Hettinger2013-03-041-0/+25
| |
* | Issue #17122: Fix and cleanup test_functools.py.Serhiy Storchaka2013-02-051-50/+21
| |
* | Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTupleSerhiy Storchaka2013-02-041-2/+20
|\ \ | |/ | | | | parses nested mutating sequence.
| * Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTupleSerhiy Storchaka2013-02-041-0/+20
| |\ | | | | | | | | | parses nested mutating sequence.
| | * Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTupleSerhiy Storchaka2013-02-041-0/+20
| | | | | | | | | | | | parses nested mutating sequence.
| * | Fix skip conditions in some docstings tests.Serhiy Storchaka2013-01-281-1/+1
| |\ \ | | |/
| | * Fix skip conditions in some docstings tests.Serhiy Storchaka2013-01-281-1/+1
| | |
* | | Issue #17041: Fix testing when Python is configured with theSerhiy Storchaka2013-01-271-0/+1
|\ \ \ | |/ / | | | | | | --without-doc-strings.
| * | Issue #17041: Fix testing when Python is configured with theSerhiy Storchaka2013-01-271-0/+1
| |\ \ | | |/ | | | | | | --without-doc-strings.
| | * Issue #17041: Fix testing when Python is configured with theSerhiy Storchaka2013-01-271-0/+1
| | | | | | | | | | | | --without-doc-strings.
* | | Fix whitespace.Antoine Pitrou2012-11-131-1/+1
| | |
* | | Issue #12428: Add a pure Python implementation of functools.partial().Antoine Pitrou2012-11-131-72/+136
|/ / | | | | | | Patch by Brian Thorne.
* | Issue #13544: Add __qualname__ to functools.WRAPPER_ASSIGNMENTS.Meador Inge2011-12-121-3/+9
| | | | | | | | Patch by Filip Gruszczyński.
* | Issue 13227: Option to make the lru_cache() type specific (suggested by ↵Raymond Hettinger2011-10-201-0/+16
| | | | | | | | Andrew Koenig).
* | MergeRaymond Hettinger2011-10-161-0/+16
|\ \ | |/
| * Issue 13177: Make tracebacks more readable by avoiding chained exceptions in ↵Raymond Hettinger2011-10-161-0/+16
| | | | | | | | the lru_cache.
* | Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.Raymond Hettinger2011-05-031-1/+3
|\ \ | |/
| * Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable.Raymond Hettinger2011-05-031-1/+4
| |
* | Issue #11707: Fast C version of functools.cmp_to_key()Raymond Hettinger2011-04-051-1/+65
|/
* Issue #10042: Fixed the total_ordering decorator to handle cross-typeRaymond Hettinger2011-01-081-0/+24
| | | | comparisons that could lead to infinite recursion.
* Issue #4113: Added custom __repr__ method to functools.partial.Alexander Belopolsky2010-12-011-0/+29
|
* Issue 10593: Adopt Nick's suggestion for an lru_cache with maxsize=None.Raymond Hettinger2010-12-011-0/+14
|
* Add example, tighten text, and minor clean-ups.Raymond Hettinger2010-11-301-8/+8
|
* Issue 10586: change the new functools.lru_cache implementation to expose the ↵Nick Coghlan2010-11-301-8/+36
| | | | maximum and current cache sizes through the public statistics API. This API is now a single function that returns a named tuple.
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-33/+33
|
* Adopt more descriptive attribute names as suggested on python-dev.Raymond Hettinger2010-09-041-9/+9
|
* run total_ordering() tests, and fix the function (default comparisons ↵Benjamin Peterson2010-08-231-1/+2
| | | | shouldn't be considered)