Message413187
I have a design question.
Does `print(await a.hello)` look awkward?
I'm not speaking about correction.
In asyncio code I have seen before, `await val` means waiting for a future object. `await func()` means async function call.
`await obj.attr` looks more like a future waiting but, in fact, it is not.
Should we encourage such syntax?
I have no strong opinion here and like to hear other devs. |
|
Date |
User |
Action |
Args |
2022-02-13 15:10:57 | asvetlov | set | recipients:
+ asvetlov, rhettinger, serhiy.storchaka, yselivanov, uranusjr |
2022-02-13 15:10:57 | asvetlov | set | messageid: <1644765057.13.0.673169405006.issue46622@roundup.psfhosted.org> |
2022-02-13 15:10:57 | asvetlov | link | issue46622 messages |
2022-02-13 15:10:57 | asvetlov | create | |
|