
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2017-05-03 04:12 byJelleZijlstra, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 1412 | merged | JelleZijlstra,2017-05-03 04:17 | |
| Messages (2) | |||
|---|---|---|---|
| msg292835 -(view) | Author: Jelle Zijlstra (JelleZijlstra)*![]() | Date: 2017-05-03 04:12 | |
It would be useful to have an abstract base class for asynchronous context managers, similar to the existing contextlib.AbstractContextManager. We can then also add this class to typing and use it as aPEP 544 Protocol.I have code ready for contextlib.AbstractAsyncContextManager and will submit the PR shortly. I'll also add support in typing and typeshed if the CPython change is accepted. | |||
| msg308270 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2017-12-14 01:19 | |
New changeset176baa326be4ec2dc70ca0c054b7e2ab7ca6a9cf by Yury Selivanov (Jelle Zijlstra) in branch 'master':bpo-30241: implement contextlib.AbstractAsyncContextManager (#1412)https://github.com/python/cpython/commit/176baa326be4ec2dc70ca0c054b7e2ab7ca6a9cf | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:46 | admin | set | github: 74427 |
| 2017-12-14 01:20:16 | yselivanov | set | status: open -> closed resolution: fixed stage: resolved |
| 2017-12-14 01:19:20 | yselivanov | set | messages: +msg308270 |
| 2017-05-03 04:17:28 | JelleZijlstra | set | pull_requests: +pull_request1520 |
| 2017-05-03 04:12:21 | JelleZijlstra | create | |