Proposal for new minor syntax

Mario Figueiredo marfig at gmail.com
Sat Mar 28 11:05:33 EDT 2015


On Sat, 28 Mar 2015 13:38:20 +0000, BartC <bc at freeuk.com> wrote:

>
>(I'm not sure how this all applies to the loop_node.next example, but 
>even here I don't count the "." as an operator, but syntax.

Neiter the language. The dot symbol is a delimiter in the python
grammar. Not an operator. And also defined as a delimiter in the
official documentation, right after operators.

Meanwhile augmented assignment is governed by the `augassign`
nonterminal. An addition to its list would result in a non backwards
compatible new syntactic sugar feature. This would mabe not be a big
issue between 3.X and 2.X, but would, I reckon, be against the
compatibility rules between 3.X versions.



More information about the Python-list mailing list