
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-12-23 16:59 byyselivanov, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 4992 | merged | yselivanov,2017-12-23 17:46 | |
| PR 4995 | merged | yselivanov,2017-12-23 20:19 | |
| PR 4999 | merged | yselivanov,2017-12-23 21:10 | |
| Messages (5) | |||
|---|---|---|---|
| msg308957 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2017-12-23 16:59 | |
Currently, asyncio code accesses Future._loop and Task._loop property to validate the event loop and implement functions like "Task.all_tasks()". So the "_loop" is a semi-official public API that other Task & Future implementations must follow in order to be compatible with asyncio code.I propose to add Future.get_loop() and Task.get_loop() methods, and soft-deprecate ._loop property. | |||
| msg308958 -(view) | Author: Andrew Svetlov (asvetlov)*![]() | Date: 2017-12-23 17:00 | |
Agree | |||
| msg308966 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2017-12-23 20:04 | |
New changesetca9b36cd1a384e5ecb56d9df9a59144240353ef0 by Yury Selivanov in branch 'master':bpo-32415: Add asyncio.Task.get_loop() and Future.get_loop() (#4992)https://github.com/python/cpython/commit/ca9b36cd1a384e5ecb56d9df9a59144240353ef0 | |||
| msg308968 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2017-12-23 20:42 | |
New changeseta8fb07978953d3f55cfce836e3669d8b8e82b4c1 by Yury Selivanov in branch 'master':bpo-32415: Add more tests (#4995)https://github.com/python/cpython/commit/a8fb07978953d3f55cfce836e3669d8b8e82b4c1 | |||
| msg308971 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2017-12-23 21:29 | |
New changeset719ccbca69b21013a783b829de3404b5aa243827 by Yury Selivanov in branch 'master':bpo-32415: Fix "error is already set" (#4999)https://github.com/python/cpython/commit/719ccbca69b21013a783b829de3404b5aa243827 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:56 | admin | set | github: 76596 |
| 2017-12-23 21:29:28 | yselivanov | set | messages: +msg308971 |
| 2017-12-23 21:10:50 | yselivanov | set | pull_requests: +pull_request4887 |
| 2017-12-23 20:42:29 | yselivanov | set | messages: +msg308968 |
| 2017-12-23 20:19:01 | yselivanov | set | pull_requests: +pull_request4884 |
| 2017-12-23 20:08:07 | yselivanov | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2017-12-23 20:04:17 | yselivanov | set | messages: +msg308966 |
| 2017-12-23 17:46:20 | yselivanov | set | keywords: +patch stage: patch review pull_requests: +pull_request4880 |
| 2017-12-23 17:00:16 | asvetlov | set | messages: +msg308958 |
| 2017-12-23 16:59:11 | yselivanov | create | |