Message308957
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. |
|
Date |
User |
Action |
Args |
2017-12-23 16:59:11 | yselivanov | set | recipients:
+ yselivanov, asvetlov |
2017-12-23 16:59:11 | yselivanov | set | messageid: <1514048351.13.0.213398074469.issue32415@psf.upfronthosting.co.za> |
2017-12-23 16:59:11 | yselivanov | link | issue32415 messages |
2017-12-23 16:59:10 | yselivanov | create | |
|