On 26/04/17 01:39, Nathaniel Smith wrote:
[snip discussion of why current augmented assignment operators are better for other reasons]

Are there any similar arguments for .=?

It doesn't make anything more efficient, however all of the suggestions of how to do it with current syntax (mostly decorators) _do_ make things less efficient.

So rather than a win/win as with current augmented assignment (compact/clearer code *and* potentially a performance improvement), it's now a tradeoff (wordy code *or* a performance reduction).

E.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to