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

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