[Python-ideas] Empty set, Empty dict
MRAB
python at mrabarnett.plus.com
Sun Jun 22 17:01:02 CEST 2014
On 2014-06-22 15:41, Philipp A. wrote:
> i honestly don’t see the problem here.
>
> if people are too lazy to find a input method that works for them (Alt
> Gr, compose key, copy&paste), they should just continue to type ASCII,
> and leave the more elegant unicode variants for others.
>
> this violates TSBOOWTDI, but as there’s also |dict()| next to |{}|, this
> should neither be a problem.
>
> i like scala’s way to allow both |<-| and |←|, as well as |=>| and |⇒|,
> and so on. ∅ and λ seem like good ideas to me as un-redefinable empty
> set literal and shorter/more elegant lambda. And “…” for “Ellipsis”.
>
[snip]
λ is a valid identifier in Python 3 because it's a letter.
More information about the Python-ideas
mailing list