On Wed, Nov 6, 2019 at 5:32 AM martin_05--- via Python-ideas <
python-ideas@python.org> wrote:

> In other words, these two things would have been equivalent in Python:
>
>     a ← 23
>
>     a = 23
>

I do not consider these two things conceptually equivalent. In Python the
identifier ('a' in this case) is just label to the value, I can imagine
"let 'a' point to the value of 23 now" and write it this way: "a --> 23",
but "a <-- 23" does give an impression that 23 points to, or is somehow fed
into, 'a'. This may give false expectations to those who are coming to
Python from another language and might expect the "l-value" behavior in
Python.

Second point, I can write := in two keystrokes, but I do not have a
dedicated key for the arrow on my keyboard. Should '<--' also be an
acceptable syntax?

Richard
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/273JBQ6DHIR2QWW5YT6BFWTAGZN7OFUT/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to