| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.9] bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089) ↵ | John Belmonte | 2021-10-05 | 1 | -0/+35 |
| | | | | | | | | | | | | | | | (GH-28731) Make enter_context(foo()) / enter_async_context(foo()) equivalent to `[async] with foo()` regarding __context__ when an exception is raised. Previously exceptions would be caught and re-raised with the wrong context when explicitly overriding __context__ with None.. (cherry picked from commit e6d1aa1ac65b6908fdea2c70ec3aa8c4f1dffcb5) Co-authored-by: John Belmonte <john@neggie.net> Automerge-Triggered-By: GH:njsmith | ||||
| * | [3.9] bpo-44566: resolve differences between asynccontextmanager and ↵ | Łukasz Langa | 2021-07-20 | 1 | -1/+12 |
| | | | | | | | | contextmanager (GH-27024). (#27269) (cherry picked from commit 7f1c330da31c54e028dceaf3610877914c2a4497) Co-authored-by: Thomas Grainger <tagrain@gmail.com> | ||||
| * | [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620) | Serhiy Storchaka | 2019-06-05 | 1 | -2/+2 |
| | | | | Turn deprecation warnings added in 3.8 into TypeError. | ||||
| * | bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637) | Serhiy Storchaka | 2019-04-01 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | Deprecated passing the following arguments as keyword arguments: - "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 the create() method of multiprocessing.managers.Server and multiprocessing.managers.SharedMemoryServer. - "obj" in weakref.finalize(). Also allowed to pass arbitrary keyword arguments (even "self" and "func") if the above arguments are passed as positional argument. | ||||
| * | bpo-34183: Fix running Lib/test/test_contextlib_async.py as a script. (GH-8381) | Serhiy Storchaka | 2018-07-23 | 1 | -1/+1 |
| | | |||||
| * | bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() ↵ | Yury Selivanov | 2018-06-08 | 1 | -0/+22 |
| | | | | | (GH-7467) | ||||
| * | bpo-33562: Check the global asyncio event loop policy isn't set after any ↵ | Brett Cannon | 2018-06-02 | 1 | -1/+2 |
| | | | | | tests (GH-7328) | ||||
| * | bpo-29302: Implement contextlib.AsyncExitStack. (#4790) | Ilya Kulakov | 2018-01-25 | 1 | -1/+166 |
| | | |||||
| * | bpo-30241: implement contextlib.AbstractAsyncContextManager (#1412) | Jelle Zijlstra | 2017-12-14 | 1 | -1/+48 |
| | | |||||
| * | bpo-29679: Implement @contextlib.asynccontextmanager (#360) | Jelle Zijlstra | 2017-05-01 | 1 | -0/+212 |
