[Python-ideas] x )= f as shorthand for x=f(x)

Adam Atlas adam at atlas.st
Fri Nov 9 20:24:46 CET 2007


On 9 Nov 2007, at 13:16, George Sakkis wrote:

> On Nov 9, 2007 7:39 AM, Boris Borcic <bborcic at gmail.com> wrote:
>
>> Title says it all. Got used to += et al. My mind often expects  
>> augmented
>> assignment syntax to exist uniformly for whatever transform.
>
> And the "most inane proposal in python-ideas" award goes to... ;-)

I can top that. Instead of "x )= f", I propose one of the following:

-   x $?$%$?666= f
-   x =^_^= f
-   x ☭= f
-   x 8======D f


More information about the Python-ideas mailing list