Paul Moore wrote: > On 24 April 2015 at 09:34, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote: > >> cocall await(cocall f(x)) >> >>That doesn't look so bad to me. > > I've not been following this discussion (and coroutines make my head > hurt) but this idiom looks like it's bound to result in people getting > the idea that you scatter "cocall" throughout an expression until you > get it to work. They won't need to do that, because they'll get told exactly where they've left one out, or put one in that they shouldn't have. Also, the places you need to put cocall are exactly the same as the places you need yield-from currently, or await under PEP 492. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4