Guido Treutwein added the comment: I'm with David here, in that a change would improve ease of comprehension: I still find it strange, that the grammar symbol has the same name as the keyword (or in the proposed version keyword+'expr'), which is never done on more widely used levels. I would have expected something like 'coroutine_suspension', which reflects what it is and not which keyword is required to state it.
2016-05-06 15:04 GMT+02:00 R. David Murray <rep...@bugs.python.org>: > > R. David Murray added the comment: > > Sounds like it is a bit more than just confusion: given that power can be > used outside a coroutine but await can't, Serhiy's formulation would seem > to me to be more semantically correct, even if syntactically it is the same > as the current. > > I think it would regardless be better to replace 'await' with > 'await_expr', so +1 on that from me as well. > > ---------- > nosy: +r.david.murray > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue26156> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26156> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com