Message362674
> For asyncio.Lock (plus other synchronization primitives) and asyncio.Queue, this would be added in https://github.com/python/cpython/pull/18195. Currently waiting on emanu (author of the PR) to finish up some changes, but it's mostly complete. Could I work on adding it to asyncio.Future and other classes in the meantime?
I think the approach should be different:
# leading underscore is significant:
loop = asyncio._get_running_loop()
if loop is None:
issue_deprecation_warning()
loop = asyncio.get_event_loop() |
|
| Date |
User |
Action |
Args |
| 2020-02-26 00:04:02 | yselivanov | set | recipients:
+ yselivanov, asvetlov, serhiy.storchaka, xtreak, aeros |
| 2020-02-26 00:04:02 | yselivanov | set | messageid: <[email protected]> |
| 2020-02-26 00:04:02 | yselivanov | link | issue39529 messages |
| 2020-02-26 00:04:02 | yselivanov | create | |
|