[Python-ideas] Proposal for new augmented assignment operator for method calls

Alexander Belopolsky alexander.belopolsky at gmail.com
Sat Mar 28 00:28:23 CET 2015


On Fri, Mar 27, 2015 at 5:36 PM, Jamie Willis <jw14896.2014 at my.bristol.ac.uk
> wrote:

> Would this idea get much support if submitted as a PEP?


I should have read your post to the end before sending a witty reply.   I
think you are facing an uphill battle regardless of the syntax.  In many
ways even the augmented assignment operators that are already in the
language are "un-pythonic" and many dark corners have been discovered since
they were introduced.


> What are the potential concerns I could consider with the syntax (Skip has
> already pointed out that the "dot" is pretty invisible in the operator, so
> perhaps a different character could be used)?


@= would be a better choice, but @ has been taken for the matrix
multiplication operator.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150327/c4c68e9c/attachment.html>


More information about the Python-ideas mailing list