[issue26156] Bad name into power operator syntax

2016-03-11 Thread Guido Treutwein

Guido Treutwein added the comment:

Yurys answer and resolution misses the point. Nobody complained about the await 
operator. Fact is, that in the _power_ operator (chapter 6.5) as base 
specification now "await" is given. This is likely to be an inadvertent copy of 
the previous chapter, makes no sense here and should probably be replaced by 
"u_expr" or similar.

------
nosy: +Guido Treutwein

___
Python tracker 
<http://bugs.python.org/issue26156>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26156] Bad name into power operator syntax

2016-05-06 Thread Guido Treutwein

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 :

>
> 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 
> <http://bugs.python.org/issue26156>
> ___
>

--

___
Python tracker 
<http://bugs.python.org/issue26156>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com