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

Boris Borcic bborcic at gmail.com
Fri Nov 9 19:54:03 CET 2007

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... ;-)

[Is the name of "sarkkasm" (sarkkism ?) the one obvious way to make your remark 
escape appropriate qualification as...]

But please be precise, are you saying

(1) that it is inane to suggest that <code> x=f(x) </code> has enough in common 
with say <code> x=x%n </code> that special syntax paralleling the latter's 
shorthand <code> x%=n </code> could or would make sense for the former ?

(2) that the proposed choice of special syntax is "most inane".

In case you mean only (2), please back your claim with some facts, by proposing 
"less inane" special syntax.

Cheers, BB

More information about the Python-ideas mailing list