[Python-Dev] Explicit Lexical Scoping (pre-PEP?) (original) (raw)

Just van Rossum just at letterror.com
Wed Jul 5 14:23:15 CEST 2006


Marek "Baczek" BaczyƱski wrote:

I suggest <- as an assignment operator instead of := - it's used in OCaml and it looks very different, yet still makes sense.

Except it's currently valid Python syntax:

>>> x = 0
>>> x <- 42
False
>>> 

Just



More information about the Python-Dev mailing list