Translating keywords

Arnaud Delobelle arnodel at googlemail.com
Tue Apr 8 01:47:13 EDT 2008


On Apr 8, 3:47 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote:
> Python 3 allows for unicode identifiers, but I don'k know any plans for  
> using unicode keywords too. Looks funny:
>
> ∀ x ∈ values:
>    if x ∉ forbidden ∧ x ≠ y:
>      print(x, Γ(x), √(x))
> print(∑(values))
> near = λ a,b,ε=0.01: a-ε ≤ b ≤ a+ε

It's all in the eye of the beholder: to me it looks readable, but
that's because I've spent 10 years of my life reading and writing
stuff like that.  Although I would use ∀ and ∃ as aliases for all()
and exists() :)

--
Arnaud




More information about the Python-list mailing list