[Python-Dev] Integer division transition
Fred L. Drake, Jr.
fdrake@acm.org
Tue, 7 Nov 2000 18:06:25 -0500 (EST)
Charles G Waldman writes:
> I think that making "div" an infix operator would be setting a
> horrible precedent. Currently, all infix operators "look like"
> operators, i.e. they are non-alphabetic characters, and things that
> look like words are either functions or reserved words.
Like "is", "in", "is not", and "not in"?
> Long before the creation of python-dev, this issue had been discussed
> numerous times on c.l.py, and the '//' operator was suggested several
> times, and I don't think anybody ever had a problem with it...
I don't have a strong preference for either // or div, but
definately want this to be an operator.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Digital Creations