[Python-Dev] Integer division transition
Mon, 6 Nov 2000 12:27:22 -0500
> > Using a new keyword like 'div' in the tradition of languages like
> > Modula-2 looks far more attractive to me.
> That's a possibility too. It's a new keyword though, which has a much
> higher threshold for acceptance than a new two-character operator
> symbol. We could spell it as a built-in function: div(a, b),
> (analogous to divmod(a, b)) but that's not very user-friendly either.
> Keep looking...
FWIW, I remember as a newbie being sure that integer
division was spelled "a div b". In fact when it didn't work, I went
digging through PP, IPWP and the docs in dumbfounded