Comment on PEP-0238

Alex Martelli aleaxit at
Sat Jul 7 23:11:25 CEST 2001

"Guido van Rossum" <guido at> wrote in message
news:cpelrskgrr.fsf at
> The "div" keyword would be ideal except for the added complexity of
> adding a new keyword to the language -- do we need a separate warning
> phase here, too?
> (Hm.  For various reasons I'm very tempted to introduce 'yield' as a
> new keyword without warnings or future statements in Python 2.2, so
> maybe I should bite the bullet and add 'div' as well...)

I see pro's and con's, but, should you decide to go ahead, might
you PLEASE treat 'mod' just the same as 'div'...?  mod and div are
a great pair, as may be / and %, but having to use div and % would
be seriously hard to explain/remember/justify to newbies/...


More information about the Python-list mailing list