Augmented Assignement (was: Re: PEP scepticism)

Alex Martelli aleaxit at yahoo.com
Sun Jul 1 03:51:10 EDT 2001


"Paul Prescod" <paulp at ActiveState.com> wrote in message
news:mailman.993961921.6174.python-list at python.org...
    ...
> > Bad idea.  If anything, I would go the other direction and make it
illegal
> > for mutable types.  ...
>
> This is the argument that froze augmented assignments in their tracks
> for years. I was somewhat surprised when they finally made it in because
> it was always clear in the discussions that any behaviour would confuse
> about half of the population. That's usually where Python Refuses To
> Choose.

Usually but not always, or we'd lack any way to divide integers, we'd
be neither case-sensitive nor insensitive, &c:-)


Alex






More information about the Python-list mailing list