| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bpo-36650: Fix handling of empty keyword args in C version of lru_cache. ↵ | Miss Islington (bot) | 2019-04-20 | 1 | -0/+14 |
| | | | | | | | | (GH-12881) (GH-12888) (cherry picked from commit 14adbd45980f705cb6554ca17b8a66b56e105296) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | ||||
| * | [3.7] bpo-36492: Fix passing special keyword arguments to some functions. ↵ | Serhiy Storchaka | 2019-04-01 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | (GH-12637) (GH-12645) The following arguments can be passed as keyword arguments for passing to other function if the corresponding required argument is passed as positional: - "func" in functools.partialmethod(), weakref.finalize(), profile.Profile.runcall(), cProfile.Profile.runcall(), bdb.Bdb.runcall(), trace.Trace.runfunc() and curses.wrapper(). - "function" in unittest.addModuleCleanup() and unittest.TestCase.addCleanup(). - "fn" in the submit() method of concurrent.futures.ThreadPoolExecutor and concurrent.futures.ProcessPoolExecutor. - "callback" in contextlib.ExitStack.callback(), contextlib.AsyncExitStack.callback() and contextlib.AsyncExitStack.push_async_callback(). - "c" and "typeid" in multiprocessing.managers.Server.create(). - "obj" in weakref.finalize(). (cherry picked from commit 42a139ed88c487f325a241c6ee8b308b3c045975) | ||||
| * | bpo-35780: Fix errors in lru_cache() C code (GH-11623) (GH-11682) | Miss Islington (bot) | 2019-01-26 | 1 | -1/+28 |
| | | |||||
| * | bpo-33967: Fix wrong use of assertRaises (GH-8306) | Miss Islington (bot) | 2018-07-17 | 1 | -1/+1 |
| | | | | | | (cherry picked from commit 56d8f57b83a37b05a6f2fbc3e141bbc1ba6cb3a2) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> | ||||
| * | bpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261) (GH-8296) | Miss Islington (bot) | 2018-07-16 | 1 | -1/+1 |
| | | | | | | | It was added in test_functools at 445f1b3. (cherry picked from commit 9e9b2c32a34594e901b5b9a03c561a2a2bf63ece) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | ||||
| * | bpo-33967: Fix singledispatch raised IndexError when no args (GH-8184) | Miss Islington (bot) | 2018-07-10 | 1 | -0/+7 |
| | | | | | | (cherry picked from commit 445f1b35ce8461268438c8a6b327ddc764287e05) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> | ||||
| * | bpo-32297: Few misspellings found in Python source code comments. (#4803) | Mike | 2017-12-14 | 1 | -1/+1 |
| | | | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py | ||||
| * | bpo-32227: functools.singledispatch supports registering via type ↵ | Łukasz Langa | 2017-12-11 | 1 | -0/+68 |
| | | | | | annotations (#4733) | ||||
| * | bpo-31581: Reduce the number of imports for functools (GH-3757) | INADA Naoki | 2017-09-30 | 1 | -83/+84 |
| | | |||||
| * | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -7/+1 |
| | | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
| * | Spelling fixes (#2902) | Ville Skyttä | 2017-08-03 | 1 | -1/+1 |
| | | |||||
| * | bpo-30144: Import collections ABC from collections.abc rather than ↵ | Serhiy Storchaka | 2017-04-24 | 1 | -19/+20 |
| | | | | | collections. (#1263) | ||||
| * | bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords ↵ | Michael Seifert | 2017-03-15 | 1 | -0/+26 |
| | | | | | are not strings (#649) | ||||
| * | bpo-29532: Altering a kwarg dictionary passed to functools.partial() (#190) | Serhiy Storchaka | 2017-02-20 | 1 | -0/+9 |
| | | | | no longer affects a partial object after creation. | ||||
| * | Issue #28969: Fixed race condition in C implementation of functools.lru_cache. | Serhiy Storchaka | 2017-01-12 | 1 | -0/+15 |
| |\ | | | | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments. | ||||
| | * | Issue #28969: Fixed race condition in C implementation of functools.lru_cache. | Serhiy Storchaka | 2017-01-12 | 1 | -0/+15 |
| | |\ | | | | | | | | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments. | ||||
| | | * | Issue #28969: Fixed race condition in C implementation of functools.lru_cache. | Serhiy Storchaka | 2017-01-12 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments. | ||||
| * | | | Add test for ea064ff3c10f | Raymond Hettinger | 2017-01-09 | 1 | -0/+9 |
| | | | | |||||
| * | | | merge | Raymond Hettinger | 2017-01-09 | 1 | -0/+10 |
| |\ \ \ | |/ / | |||||
| | * | | Issue #29203: functools.lru_cache() now respects PEP 468 | Raymond Hettinger | 2017-01-09 | 1 | -0/+10 |
| | | | | |||||
| * | | | Issue #29200: Fix test to use self.assertEqual instead of py.test style tests | Raymond Hettinger | 2017-01-08 | 1 | -12/+12 |
| | | | | |||||
| * | | | Issue #29200: Add test for lru cache only calling __hash__ once | Raymond Hettinger | 2017-01-08 | 1 | -0/+36 |
| |/ / | |||||
| * | | merge | Raymond Hettinger | 2016-12-16 | 1 | -0/+13 |
| |\ \ | |/ | |||||
| | * | Issue #28991: Fix obscure reentrancy bug in functools.lru_cache(). | Raymond Hettinger | 2016-12-16 | 1 | -0/+13 |
| | | | |||||
| * | | Issue #26939: Add the support.setswitchinterval() function to fix | Xavier de Gaye | 2016-12-08 | 1 | -1/+1 |
| | | | | | | | | | test_functools hanging on the Android armv7 qemu emulator. | ||||
| * | | Merge 3.6 (issue #28653) | Yury Selivanov | 2016-11-09 | 1 | -0/+19 |
| |\ \ | |/ | |||||
| | * | Issue #28653: Fix a refleak in functools.lru_cache. | Yury Selivanov | 2016-11-09 | 1 | -0/+19 |
| | | | |||||
| * | | Extend the test to lower pickle protocols. | Serhiy Storchaka | 2016-09-22 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Extend the test to lower pickle protocols. | Serhiy Storchaka | 2016-09-22 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #27137: align Python & C implementations of functools.partial | Nick Coghlan | 2016-09-10 | 1 | -74/+101 |
| | | | | | | | | | | | | | | | | | 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. | ||||
| * | | Issue 27598: Add Collections to collections.abc. | Guido van Rossum | 2016-08-23 | 1 | -7/+10 |
| | | | | | | | | | Patch by Ivan Levkivskyi, docs by Neil Girdhar. | ||||
| * | | Backed out changeset af29d89083b3 (closes #25548) (closes #27498) | Benjamin Peterson | 2016-07-14 | 1 | -12/+21 |
| | | | |||||
| * | | Issue #25455: Clean up reference loops created in tests for recursive | Serhiy Storchaka | 2016-06-12 | 1 | -12/+36 |
| |\ \ | |/ | | | | | functools.partial objects. | ||||
| | * | Issue #25455: Clean up reference loops created in tests for recursive | Serhiy Storchaka | 2016-06-12 | 1 | -12/+36 |
| | | | | | | | | | functools.partial objects. | ||||
| * | | Issue #25455: Fixed a crash in repr of recursive functools.partial objects. | Serhiy Storchaka | 2016-06-12 | 1 | -0/+37 |
| |\ \ | |/ | |||||
| | * | Issue #25455: Fixed a crash in repr of recursive functools.partial objects. | Serhiy Storchaka | 2016-06-12 | 1 | -0/+37 |
| | | | |||||
| * | | Issue #25548: Showing memory address of class objects in repl | Kushal Das | 2016-06-04 | 1 | -21/+12 |
| | | | |||||
| * | | Issue #27076: Merge spelling from 3.5 | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| | | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
| * | | Add collections.Reversible. Patch by Ivan Levkivskyi. Fixes issue #25987. | Guido van Rossum | 2016-04-04 | 1 | -1/+1 |
| |/ | |||||
| * | Issue #25945: Fixed bugs in functools.partial. | Serhiy Storchaka | 2016-02-02 | 1 | -6/+87 |
| | | | | | | | | Fixed a crash when unpickle the functools.partial object with wrong state. Fixed a leak in failed functools.partial constructor. "args" and "keywords" attributes of functools.partial have now always types tuple and dict correspondingly. | ||||
| * | Issue #25447: Copying the lru_cache() wrapper object now always works, | Serhiy Storchaka | 2015-12-28 | 1 | -2/+12 |
| | | | | | | independedly from the type of the wrapped object (by returning the original object unchanged). | ||||
| * | Issue #25447: The lru_cache() wrapper objects now can be copied and pickled | Serhiy Storchaka | 2015-10-24 | 1 | -2/+56 |
| | | | | | (by returning the original object unchanged). | ||||
| * | Issue #25137: Add a note to whatsnew/3.5.rst for nested functools.partial calls | Berker Peksag | 2015-09-22 | 1 | -3/+15 |
| | | | | | | Also, properly skip the test_nested_optimization test for partial subclasses and add a test for the suggested usage. | ||||
| * | Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses. | Yury Selivanov | 2015-08-18 | 1 | -0/+18 |
| | | | | | Patch by Ethan Furman. | ||||
| * | Issue #14373: Other attempt to fix threaded test for lru_cache(). | Serhiy Storchaka | 2015-06-08 | 1 | -6/+11 |
| | | |||||
| * | Issue #14373: C implementation of functools.lru_cache() now can be used with | Serhiy Storchaka | 2015-06-08 | 1 | -0/+31 |
| | | | | | methods. | ||||
| * | Issue #14373: Fixed threaded test for lru_cache(). Added new threaded test. | Serhiy Storchaka | 2015-06-08 | 1 | -14/+47 |
| | | |||||
| * | Use test.support.start_threads() in threaded lru_cache tests. | Serhiy Storchaka | 2015-05-30 | 1 | -18/+9 |
| | | |||||
| * | Backed out changeset: b0a0b9b59012 | Serhiy Storchaka | 2015-05-24 | 1 | -17/+92 |
| | | |||||
