On Thu, May 30, 2019 at 1:02 AM Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > > Steven D'Aprano wrote: > > > The obvious solution to customising assignment is to use a dotted > > target: > > > > obj.x = value > > Another problem with this is that we don't want to customise *all* > assignments. Sometimes we just want a regular Python assignment. > (See my previous post about two different kinds of assignment.) > > I think that talking about this in terms of "customising assignment" > is misleading and is causing a lot of confusion.
You are absolutely right on this and I started to realize it too. Let's call it now: a new customizable assignment syntax with <== or ==>, to make sure people understand we do not intend to mess up with the python's fundamental assignment (=) operator. _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/