Compound Assignment Operators ( +=, *=, etc...)

Fredrik Lundh fredrik at pythonware.com
Sat Aug 14 20:06:35 CEST 1999


Phil Hunt <philh at vision25.demon.co.uk> wrote:
> Cos Guido doesn't like them, I imagine.

seen on the python list, back in november 1991:

    someone wrote:
    > How about providing assignment operators?

    guido:
    > Agreed.  Now that the parser can actually recognize
    > two-character operators, adding these wouldn't be so
    > hard (except that the grammar tables will grow again :-( ).

since this hasn't made it into the language yet, I suppose
keeping the grammar tables small is quite important ;-)

</F>





More information about the Python-list mailing list