On Apr 14 2018, Chris Angelico <rosuav-re5jqeeqqe8avxtiumw...@public.gmane.org> 
wrote:
> On Fri, Apr 13, 2018 at 11:30 PM, Peter O'Connor
> <peter.ed.oconnor-re5jqeeqqe8avxtiumw...@public.gmane.org> wrote:
>> Well this may be crazy sounding, but we could allow left or right assignment
>> with
>>
>> name := expr
>> expr =: name
>>
>> Although it would seem to violate the "only one obvious way" maxim, at least
>> it avoids this overloaded meaning with the "as" of "except" and "with"
>>
>
> Hah. It took me multiple readings to even notice the change in the
> operator there, so I think this would cause a lot of confusion.

Well, if putting the expression first is generally considered better,
the reasonable thing to do would be to allow *only* =:.

-Best
Nikolaus
-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«
_______________________________________________
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