Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #88229

Re: Proposal for new minor syntax

From Mario Figueiredo <marfig@gmail.com>
Newsgroups comp.lang.python
Subject Re: Proposal for new minor syntax
Date 2015-03-28 16:05 +0100
Organization Aioe.org NNTP Server
Message-ID <kkfdhapjpmfu5vmj2he6ffuvvdthteigfu@4ax.com> (permalink)
References <CAPauRLMMAT-OffHTYW6GPybAZzouc7H9BjrmvVQiSig0X3x+ig@mail.gmail.com> <mailman.278.1427489337.10327.python-list@python.org> <GplRw.1325750$ls6.204434@fx16.am4> <55167a22$0$13013$c3e8da3$5496439d@news.astraweb.com> <n9yRw.538774$dX1.489942@fx21.am4>

Show all headers | View raw


On Sat, 28 Mar 2015 13:38:20 +0000, BartC <bc@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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Proposal for new minor syntax Ian Kelly <ian.g.kelly@gmail.com> - 2015-03-27 14:48 -0600
  Re: Proposal for new minor syntax BartC <bc@freeuk.com> - 2015-03-27 23:08 +0000
    Re: Proposal for new minor syntax Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-28 20:53 +1100
      Re: Proposal for new minor syntax Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-28 21:43 +1100
        Re: Proposal for new minor syntax Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-04-09 09:32 +0200
      Re: Proposal for new minor syntax BartC <bc@freeuk.com> - 2015-03-28 13:38 +0000
        Re: Proposal for new minor syntax Mario Figueiredo <marfig@gmail.com> - 2015-03-28 16:05 +0100
          Re: Proposal for new minor syntax Ian Kelly <ian.g.kelly@gmail.com> - 2015-03-28 22:15 -0600
            Re: Proposal for new minor syntax Rustom Mody <rustompmody@gmail.com> - 2015-03-28 21:50 -0700
  Re: Proposal for new minor syntax Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-28 21:01 +1100

csiph-web