[Python-Dev] Re: PEP239 (Rational Numbers) Reference Implementation and new issues (original) (raw)

Guido van Rossum guido@python.org
Thu, 03 Oct 2002 20:55:13 -0400


One might presume that introducing `:' between numbers at the syntactic level has just no chance to ever work. But maybe it could be more tractable at the lexical level without bringing too much confusion, and for numerical constants only -- 3:2 is one number, has never been two.

I think the slice notation e.g. x[1:4] kills that idea.

--Guido van Rossum (home page: http://www.python.org/~guido/)