summaryrefslogtreecommitdiffstats
path: root/Doc/library/functools.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #26615: Add missing __qualname__ entry to functools.update_wrapper() docsBerker Peksag2016-04-181-4/+4
| | | | Patch by Xiang Zhang.
* Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-3/+3
| | | | to SilentGhost for the patch.
* Issue #23049: Pure python equivalent shouldn't imply more exactitude than ↵Raymond Hettinger2014-12-171-1/+1
| | | | is really there.
* Issue 22830: Clarify docs for functools.cmp_to_key().Raymond Hettinger2014-11-101-4/+5
|
* Fixing broken links in doc, part 3: the restGeorg Brandl2014-10-291-1/+1
|
* #21928: clarify functools.wraps docs.Ezio Melotti2014-08-051-3/+4
|
* make partialmethod example work (closes #21105)Benjamin Peterson2014-03-301-0/+2
|
* Fix functools.partialmethod docs and __all__Nick Coghlan2013-11-041-2/+2
|
* Issue #4331: Added functools.partialmethodNick Coghlan2013-11-031-1/+42
| | | | Initial patch by Alon Horev
* mergeRaymond Hettinger2013-10-121-0/+12
|\
| * Issue #19202: Add cross-reference and a rough code equivalentRaymond Hettinger2013-10-121-0/+12
| |
* | Close #10042: functools.total_ordering now handles NotImplementedNick Coghlan2013-10-011-0/+19
| | | | | | | | (Patch by Katie Miller)
* | Close issue 17482: don't overwrite __wrapped__Nick Coghlan2013-07-151-2/+7
| |
* | moved the single-dispatch generic function definitions to the glossaryŁukasz Langa2013-06-071-6/+2
| |
* | Add reference implementation for PEP 443Łukasz Langa2013-06-051-0/+110
|/ | | | PEP accepted: http://mail.python.org/pipermail/python-dev/2013-June/126734.html
* Clean-up lru_cache examples. The print() not is needed. Set maxsize to a ↵Raymond Hettinger2013-04-071-5/+5
| | | | power of two.
* Add usage note.Raymond Hettinger2012-06-041-2/+3
|
* Minor change to default lru size. Set default to a power of two.Raymond Hettinger2012-05-201-1/+1
|
* merge with 3.2Georg Brandl2012-01-251-3/+3
|\
| * #13852: some small doc fixes.Georg Brandl2012-01-251-3/+3
| |
* | merge from 3.2Georg Brandl2012-01-231-1/+1
|\ \ | |/
| * #13816: fix two minor style issues. Thanks to Justin Wehnes for the patch.Georg Brandl2012-01-231-1/+1
| |
* | #13695: merge with 3.2.Ezio Melotti2012-01-161-1/+1
|\ \ | |/
| * #13695: fix a couple of typos in the doc.Ezio Melotti2012-01-161-1/+1
| |
* | Issue 13227: Option to make the lru_cache() type specific (suggested by ↵Raymond Hettinger2011-10-201-3/+10
|/ | | | Andrew Koenig).
* Missed two source linksRaymond Hettinger2011-01-101-5/+3
|
* Issue 10593: Adopt Nick's suggestion for an lru_cache with maxsize=None.Raymond Hettinger2010-12-011-6/+23
|
* Doc and docstring nits.Raymond Hettinger2010-12-011-0/+4
|
* Documentation nits.Raymond Hettinger2010-11-301-3/+3
|
* Add example, tighten text, and minor clean-ups.Raymond Hettinger2010-11-301-23/+35
|
* Neaten-up a bit.Raymond Hettinger2010-11-301-3/+3
|
* Issue 10586: change the new functools.lru_cache implementation to expose the ↵Nick Coghlan2010-11-301-4/+10
| | | | maximum and current cache sizes through the public statistics API. This API is now a single function that returns a named tuple.
* Remove spurious space that was breaking Vim’s reST highlighting.Éric Araujo2010-11-181-1/+1
|
* Provide links to Python source where the code is short, readable andÉric Araujo2010-11-161-0/+5
| | | | | informative adjunct to the docs. Forward-port of Raymond's r86225 and r86245 using the new source reST role added in #10334.
* Fix wrapper/wrapped typo (with Raymond’s blessing)Éric Araujo2010-11-061-1/+1
|
* Adopt more descriptive attribute names as suggested on python-dev.Raymond Hettinger2010-09-041-3/+3
|
* Minor rewording to docs for the lru_cache decoratorRaymond Hettinger2010-08-171-3/+3
|
* Consistency check for versionadded/changed directives.Georg Brandl2010-08-171-0/+3
|
* Markup nits.Georg Brandl2010-08-171-3/+4
|
* Document and test the resolution of issue 3445 (tolerate missing attributes ↵Nick Coghlan2010-08-171-0/+23
| | | | 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)
* Remove some lingering remnants of the short-lived functools.lfu_cacheNick Coghlan2010-08-171-27/+0
|
* use 3 space indentsBenjamin Peterson2010-08-091-17/+16
|
* Issue #8814: function annotations (the `__annotations__` attribute)Antoine Pitrou2010-08-041-3/+3
| | | | | are now included in the set of attributes copied by default by functools.wraps and functools.update_wrapper. Patch by Terrence Cole.
* Add example applications for the LRU and LFU cache docs.Raymond Hettinger2010-08-021-2/+5
|
* Re-commit r83327 now that the release is done.Georg Brandl2010-07-311-0/+51
|
* Revert r83327. This will have to wait until after the alpha1 release.Georg Brandl2010-07-311-51/+0
|
* Add functools.lfu_cache() and functools.lru_cache().Raymond Hettinger2010-07-311-0/+51
|
* #6522: add a "decorator" directive to explicitly document decorators, and ↵Georg Brandl2010-07-291-2/+2
| | | | use it in a few places.
* Merged revisions ↵Benjamin Peterson2010-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79307,79408,79430,79533,79542,79579-79580,79585-79587,79607-79608,79622,79717,79820,79822,79828,79862,79875,79923-79924,79941-79943,79945,79947,79951-79952 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79307 | florent.xicluna | 2010-03-22 17:45:50 -0500 (Mon, 22 Mar 2010) | 2 lines #7667: Fix doctest failures with non-ASCII paths. ........ r79408 | victor.stinner | 2010-03-24 20:18:38 -0500 (Wed, 24 Mar 2010) | 2 lines Fix a gcc warning introduced by r79397. ........ r79430 | brian.curtin | 2010-03-25 18:48:54 -0500 (Thu, 25 Mar 2010) | 2 lines Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana. ........ r79533 | barry.warsaw | 2010-03-31 16:07:16 -0500 (Wed, 31 Mar 2010) | 6 lines - Issue #8233: When run as a script, py_compile.py optionally takes a single argument `-` which tells it to read files to compile from stdin. Each line is read on demand and the named file is compiled immediately. (Original patch by Piotr O?\197?\188arowski). ........ r79542 | r.david.murray | 2010-03-31 20:28:39 -0500 (Wed, 31 Mar 2010) | 3 lines A couple small grammar fixes in test.rst, and rewrite the check_warnings docs to be clearer. ........ r79579 | georg.brandl | 2010-04-02 03:34:41 -0500 (Fri, 02 Apr 2010) | 1 line Add 2.6.5. ........ r79580 | georg.brandl | 2010-04-02 03:39:09 -0500 (Fri, 02 Apr 2010) | 1 line #2768: add a note on how to get a file descriptor. ........ r79585 | georg.brandl | 2010-04-02 04:03:18 -0500 (Fri, 02 Apr 2010) | 1 line Remove col-spanning cells in logging docs. ........ r79586 | georg.brandl | 2010-04-02 04:07:42 -0500 (Fri, 02 Apr 2010) | 1 line Document PyImport_ExecCodeModuleEx(). ........ r79587 | georg.brandl | 2010-04-02 04:11:49 -0500 (Fri, 02 Apr 2010) | 1 line #8012: clarification in generator glossary entry. ........ r79607 | andrew.kuchling | 2010-04-02 12:48:23 -0500 (Fri, 02 Apr 2010) | 1 line #6647: document that catch_warnings is not thread-safe ........ r79608 | andrew.kuchling | 2010-04-02 12:54:26 -0500 (Fri, 02 Apr 2010) | 1 line #6647: add note to two examples ........ r79622 | tarek.ziade | 2010-04-02 16:34:19 -0500 (Fri, 02 Apr 2010) | 1 line removed documentation on code that was reverted and pushed into distutils2 ........ r79717 | antoine.pitrou | 2010-04-03 16:22:38 -0500 (Sat, 03 Apr 2010) | 4 lines Fix wording / typography, and a slightly misleading statement (memoryviews don't support complex structures right now) ........ r79820 | benjamin.peterson | 2010-04-05 22:34:09 -0500 (Mon, 05 Apr 2010) | 1 line ready _sre types ........ r79822 | georg.brandl | 2010-04-06 03:18:15 -0500 (Tue, 06 Apr 2010) | 1 line #8320: document return value of recv_into(). ........ r79828 | georg.brandl | 2010-04-06 09:33:44 -0500 (Tue, 06 Apr 2010) | 1 line Add JP. ........ r79862 | georg.brandl | 2010-04-06 15:27:59 -0500 (Tue, 06 Apr 2010) | 1 line Fix syntax. ........ r79875 | mark.dickinson | 2010-04-06 17:18:23 -0500 (Tue, 06 Apr 2010) | 1 line More NaN consistency doc fixes. ........ r79923 | georg.brandl | 2010-04-10 06:15:24 -0500 (Sat, 10 Apr 2010) | 1 line #8360: skipTest was added in 2.7. ........ r79924 | georg.brandl | 2010-04-10 06:16:59 -0500 (Sat, 10 Apr 2010) | 1 line #8346: update version. ........ r79941 | andrew.kuchling | 2010-04-10 20:39:36 -0500 (Sat, 10 Apr 2010) | 1 line Two grammar fixes ........ r79942 | andrew.kuchling | 2010-04-10 20:40:06 -0500 (Sat, 10 Apr 2010) | 1 line Punctuation fix ........ r79943 | andrew.kuchling | 2010-04-10 20:40:30 -0500 (Sat, 10 Apr 2010) | 1 line Add various items ........ r79945 | andrew.kuchling | 2010-04-10 20:40:49 -0500 (Sat, 10 Apr 2010) | 1 line name correct ........ r79947 | andrew.kuchling | 2010-04-10 20:44:13 -0500 (Sat, 10 Apr 2010) | 1 line Remove distutils section ........ r79951 | andrew.kuchling | 2010-04-11 07:48:08 -0500 (Sun, 11 Apr 2010) | 1 line Two typo fixes ........ r79952 | andrew.kuchling | 2010-04-11 07:49:37 -0500 (Sun, 11 Apr 2010) | 1 line Add two items ........
* Forward port total_ordering() and cmp_to_key().Raymond Hettinger2010-04-051-0/+45
|