[Python-ideas] Left arrow and right arrow operators

francismb francismb at email.de
Fri Mar 8 15:02:58 EST 2019


Hi Oleg,

On 3/3/19 4:06 PM, Oleg Broytman wrote:
>    You cannot create operator ``<-`` because it's currently valid
> syntax:
>
>     3 <- 2
>
> is equivalent to
>
>     3 < -2

Yes, its a good point, but for me it's not the same '<-' and '< -' due
(n)blanks in between. It is may be how now it is, but means that it
needs to be always like this? Isn't Python not already
blank(s)/indentation aware? or it's just a grammar NO GO?

Thanks in advance!
--francis


More information about the Python-ideas mailing list